From: Xiubo Li Date: Wed, 19 May 2021 07:54:12 +0000 (+0800) Subject: mds: progress the recover queue immediately after the inode is enqueued X-Git-Tag: v16.2.5~25^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1e3c67fa9eb60880876f2860a32cfce3dfe002b4;p=ceph.git mds: progress the recover queue immediately after the inode is enqueued Fixes: https://tracker.ceph.com/issues/50840 Signed-off-by: "Yan, Zheng" (cherry picked from commit 616ebc3f04620c22439a62f3af35845fa98e508f) --- diff --git a/src/mds/Locker.cc b/src/mds/Locker.cc index a2fbe76625ab..d1c25250d62a 100644 --- a/src/mds/Locker.cc +++ b/src/mds/Locker.cc @@ -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(); } }