]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mds: progress the recover queue immediately after the inode is enqueued
authorXiubo Li <xiubli@redhat.com>
Wed, 19 May 2021 07:54:12 +0000 (15:54 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 20 May 2021 01:22:55 +0000 (09:22 +0800)
Fixes: https://tracker.ceph.com/issues/50840
Signed-off-by: "Yan, Zheng" <ukernel@gmail.com>
src/mds/Locker.cc

index a2fbe76625ab2435d2f2ae232f30bbcfda4dcda4..d1c25250d62a17ba22ee19507387e9748aca50d2 100644 (file)
@@ -5454,6 +5454,7 @@ void Locker::file_eval(ScatterLock *lock, bool *need_issue)
   }
   else if (in->state_test(CInode::STATE_NEEDSRECOVER)) {
     mds->mdcache->queue_file_recover(in);
+    mds->mdcache->do_file_recover();
   }
 }