From 1e3c67fa9eb60880876f2860a32cfce3dfe002b4 Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Wed, 19 May 2021 15:54:12 +0800 Subject: [PATCH] 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) --- src/mds/Locker.cc | 1 + 1 file changed, 1 insertion(+) 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(); } } -- 2.47.3