]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: add new item item_to_flush
authorDhairya Parmar <dparmar@redhat.com>
Mon, 4 Mar 2024 08:37:35 +0000 (14:07 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Mon, 15 Apr 2024 12:00:43 +0000 (17:30 +0530)
Fixes: https://tracker.ceph.com/issues/64008
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit f9b17e46d16c93f7beb88fa569c2bb6c2f702ef6)

src/mds/CInode.cc
src/mds/CInode.h

index 71b6081be7de27b62155dc958c8d3e203b526ab7..32050bde261dd3dd2df0726d4a6def5f914c5cef 100644 (file)
@@ -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),
index 6f965bffa8ea99e8f76d972f3237872c1ed17a0a..b287c49c18bb088b0c496ad5277b09b350df3353 100644 (file)
@@ -1080,6 +1080,7 @@ 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_to_flush;
 
   // also update RecoveryQueue::RecoveryQueue() if you change this
   elist<CInode*>::item& item_recover_queue = item_dirty_dirfrag_dir;