summaryrefslogtreecommitdiffstats
path: root/src/mds/CInode.h
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2020-05-02 10:24:17 +0200
committerYan, Zheng <zyan@redhat.com>2020-11-16 02:02:17 +0100
commit547c1ed9f1a7f92bb6cc0bf443156d5b98d60be3 (patch)
tree657744a9e22692a3ee2029d8afe8dce5783a22c4 /src/mds/CInode.h
parentmds: remove ScrubStack::scrubstack (diff)
downloadceph-547c1ed9f1a7f92bb6cc0bf443156d5b98d60be3.tar.xz
ceph-547c1ed9f1a7f92bb6cc0bf443156d5b98d60be3.zip
mds: make both CInode and CDir as entities of scrub
Making CDir as entity of scrub is preparetion for scrubbing across multiple mds. When subtree bound is encountered, scrub should be forwarded to subtree's auth mds. The auth mds adds CDir to scrub stack. Signed-off-by: Simon Gao <simon29rock@gmail.com> Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Diffstat (limited to 'src/mds/CInode.h')
-rw-r--r--src/mds/CInode.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mds/CInode.h b/src/mds/CInode.h
index 66ea728cc2d..2168284819b 100644
--- a/src/mds/CInode.h
+++ b/src/mds/CInode.h
@@ -350,7 +350,6 @@ class CInode : public MDSCacheObject, public InodeStoreBase, public Counter<CIno
static const int PIN_EXPORTINGCAPS = 22;
static const int PIN_DIRTYPARENT = 23;
static const int PIN_DIRWAITER = 24;
- static const int PIN_SCRUBQUEUE = 25;
// -- dump flags --
static const int DUMP_INODE_STORE_BASE = (1 << 0);
@@ -1131,7 +1130,6 @@ class CInode : public MDSCacheObject, public InodeStoreBase, public Counter<CIno
elist<CInode*>::item item_dirty_dirfrag_dir;
elist<CInode*>::item item_dirty_dirfrag_nest;
elist<CInode*>::item item_dirty_dirfrag_dirfragtree;
- elist<CInode*>::item item_scrub;
// also update RecoveryQueue::RecoveryQueue() if you change this
elist<CInode*>::item& item_recover_queue = item_dirty_dirfrag_dir;