]> 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, 4 Mar 2024 08:37:35 +0000 (14:07 +0530)
Fixes: https://tracker.ceph.com/issues/64008
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
src/mds/CInode.cc
src/mds/CInode.h

index 6ef7d240a0edc9711bf40b7542a606c2fae0971c..7c4e64de45bad9fd1cd9df5fa7ecb200b1dea2cf 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 979b451742cbf3298222898b95971b6dd33f8cc0..86a477991500db16e8f24091be7ff58f44039573 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;