From: Xiubo Li Date: Mon, 10 May 2021 09:14:29 +0000 (+0800) Subject: mds: fix possible mds_lock not locked assert X-Git-Tag: v16.2.5~28^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=db7e60f900d0496eff31fcfdd6621ae03104d4e8;p=ceph.git mds: fix possible mds_lock not locked assert Fixes: https://tracker.ceph.com/issues/50744 Signed-off-by: Xiubo Li (cherry picked from commit 59ab95c1a86823c372e62a147ecc6e9ed434edd2) --- diff --git a/src/mds/MDLog.cc b/src/mds/MDLog.cc index 1fc4b58f17e8..5bb6da4fb27e 100644 --- a/src/mds/MDLog.cc +++ b/src/mds/MDLog.cc @@ -959,7 +959,7 @@ void MDLog::_recovery_thread(MDSContext *completion) // Oh dear, something unreadable in the store for this rank: require // operator intervention. - mds->damaged(); + mds->damaged_unlocked(); ceph_abort(); // damaged should not return }