]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: fix filelock state when Fsc is issued 35841/head
authorXiubo Li <xiubli@redhat.com>
Tue, 16 Jun 2020 00:01:28 +0000 (20:01 -0400)
committerVicente Cheng <freeze.bilsted@gmail.com>
Tue, 30 Jun 2020 07:29:27 +0000 (07:29 +0000)
commit72b2aaafefaa9fbf07a93584dd9f48e84e20905e
treed26577463396ddd520e7198f00f1212447241b46
parent0706e1f94da5d58697cdfde4c42fb1d5ff2aeeeb
mds: fix filelock state when Fsc is issued

LOCK_MIX is is a transition state for muti MDSs could do read/write
at the same time, but the Fcb caps are not allowed.

When the Fsc caps are issued, the lock state should be excl.

Fixes: https://tracker.ceph.com/issues/45935
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit df682263d3f302333cdd76484bd56902133ed82f)
src/mds/CInode.cc