From: Dhairya Parmar Date: Mon, 4 Mar 2024 08:37:35 +0000 (+0530) Subject: mds: add new item item_to_flush X-Git-Tag: testing/wip-batrick-testing-20240411.154038~50^2~1 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f9b17e46d16c93f7beb88fa569c2bb6c2f702ef6;p=ceph-ci.git mds: add new item item_to_flush Fixes: https://tracker.ceph.com/issues/64008 Signed-off-by: Dhairya Parmar --- diff --git a/src/mds/CInode.cc b/src/mds/CInode.cc index 6ef7d240a0e..7c4e64de45b 100644 --- a/src/mds/CInode.cc +++ b/src/mds/CInode.cc @@ -322,6 +322,7 @@ CInode::CInode(MDCache *c, bool auth, snapid_t f, snapid_t l) : item_dirty_dirfrag_dir(this), item_dirty_dirfrag_nest(this), item_dirty_dirfrag_dirfragtree(this), + item_to_flush(this), pop(c->decayrate), versionlock(this, &versionlock_type), authlock(this, &authlock_type), diff --git a/src/mds/CInode.h b/src/mds/CInode.h index 979b451742c..86a47799150 100644 --- a/src/mds/CInode.h +++ b/src/mds/CInode.h @@ -1080,6 +1080,7 @@ class CInode : public MDSCacheObject, public InodeStoreBase, public Counter::item item_dirty_dirfrag_dir; elist::item item_dirty_dirfrag_nest; elist::item item_dirty_dirfrag_dirfragtree; + elist::item item_to_flush; // also update RecoveryQueue::RecoveryQueue() if you change this elist::item& item_recover_queue = item_dirty_dirfrag_dir;