]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph: allow xlock state to be LOCK_PREXLOCK when putting it
authorXiubo Li <xiubli@redhat.com>
Tue, 26 Sep 2023 04:54:58 +0000 (12:54 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 26 Sep 2023 05:02:54 +0000 (13:02 +0800)
commit58a1569b39c2c7281960117672f86c63ad7e11c5
treea7dd394a65273c68a0cbdf9b277d17c8e59b8f5d
parent7ebceb55c6f5e9c83a822918813b2101689d0957
ceph: allow xlock state to be LOCK_PREXLOCK when putting it

When the journal logs are successfully flushed the lockers' state
could be LOCK_PREXLOCK if the inflight OP need to gather issued
caps.

Fixes: https://tracker.ceph.com/issues/44565
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 81890e8a57341b3a14db310ae1700394ecdbbad4)
src/mds/SimpleLock.h