]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph: allow xlock state to be LOCK_SYNC when putting it 52111/head
authorXiubo Li <xiubli@redhat.com>
Mon, 26 Jun 2023 07:40:29 +0000 (15:40 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 4 Jul 2023 04:35:24 +0000 (12:35 +0800)
commitcf42b377c4be665765f4e2136f5ee8e73a6289e5
tree0cd9b25b16e59f9216f8e4aeafeeb7ac3df764f6
parent81890e8a57341b3a14db310ae1700394ecdbbad4
ceph: allow xlock state to be LOCK_SYNC when putting it

When the journal logs are successfully flushed the lockers' state
could be LOCK_SYNC during the xlock count is non-zero.

Fixes: https://tracker.ceph.com/issues/44565
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/mds/Locker.cc
src/mds/SimpleLock.h