]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: remove SimpleLock::replicate_relax() 26881/head
authorYan, Zheng <zyan@redhat.com>
Wed, 27 Mar 2019 07:05:59 +0000 (15:05 +0800)
committerYan, Zheng <zyan@redhat.com>
Wed, 27 Mar 2019 08:00:46 +0000 (16:00 +0800)
commit509651702cebd4d4e09eb12865627652ba8cd0c7
tree82cf85dfe62e714a8600c85684a671c9fb2efd4f
parent63410d858a5b52f485a270dbc4b58e45abf1e923
mds: remove SimpleLock::replicate_relax()

The function changes lock to SYNC state without checking issued caps.
which can cause inconsistent between lock state and issued caps.

Besides the function is not very useful because locks except nestlock
have SYNC state as default. It's unlikely that unused lock is in LOCK
state.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
src/mds/CDentry.h
src/mds/CInode.cc
src/mds/CInode.h
src/mds/Migrator.cc
src/mds/SimpleLock.h