]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: fix possible mds_lock not locked assert 45156/head
authorXiubo Li <xiubli@redhat.com>
Mon, 10 May 2021 09:14:29 +0000 (17:14 +0800)
committerDan van der Ster <daniel.vanderster@cern.ch>
Fri, 25 Feb 2022 08:12:03 +0000 (09:12 +0100)
Fixes: https://tracker.ceph.com/issues/50744
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 59ab95c1a86823c372e62a147ecc6e9ed434edd2)

src/mds/MDLog.cc

index 2ee4c70b1790f04c3a96cf002a25b68b2127d932..072f367b62b49b8e018289731acb8bb44b7a1237 100644 (file)
@@ -961,7 +961,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
   }