]> git.apps.os.sepia.ceph.com Git - ceph-ci.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:02:19 +0000 (17:32 +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 d66c9d27a7d9bcf7eb4607a229a62f208fe4a132..3897eab137c1973030a020bdca60dca47c18a807 100644 (file)
@@ -328,6 +328,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),
     quiescelock(this, &quiescelock_type),
     versionlock(this, &versionlock_type),
index 06cde6589487d4c1614495d4a52e227d9ae1bae4..d456442f6988e3d7ce74d9d04dfc1f59efbf8609 100644 (file)
@@ -1084,6 +1084,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;