]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds/flock: don't import ceph_lock_state_t::waiting_locks
authorYan, Zheng <zyan@redhat.com>
Sat, 3 Jun 2017 03:42:12 +0000 (11:42 +0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 10 Jul 2017 20:57:53 +0000 (13:57 -0700)
commit917240a291c6366b55ddab1a381e23e77b3264c1
treed520335d8f7729578adc55be46815f4f81997693
parentf5b1f1fd7c0be0506ba73502a675de9d048b744e
mds/flock: don't import ceph_lock_state_t::waiting_locks

Item in waiting_locks is associated with flock mds request in
exporter mds. If client re-sends the flock mds request to the
importer, the importer starts a new MDRequest. The new one's
'flock_was_waiting' is false.

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 8d777c4855b0c8e58a8d6966371698b8b7721a42)
src/mds/flock.h