]> git-server-git.apps.pok.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 04:54:58 +0000 (12:54 +0800)
commit3ea0ca348c35aacb032b4df1aca2357c6fdf006a
tree785b6b1d7bcfee790bc553bd0bed18931fe03939
parent4e33d9e316ee3dee1b42eab9a0a183a76bec0ff3
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