]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph: allow xlock state to be LOCK_SYNC when putting it 53663/head
authorXiubo Li <xiubli@redhat.com>
Tue, 26 Sep 2023 04:55:41 +0000 (12:55 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 26 Sep 2023 05:02:54 +0000 (13:02 +0800)
commit5551906b03866268a6f3776ddb0771a3ce342859
tree4b1fd0712eb7e438f90fe84aded586594054e718
parent58a1569b39c2c7281960117672f86c63ad7e11c5
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>
(cherry picked from commit cf42b377c4be665765f4e2136f5ee8e73a6289e5)
src/mds/Locker.cc
src/mds/SimpleLock.h