ceph: don't re-send interrupted flock request
authorYan, Zheng <zyan@redhat.com>
Mon, 5 Jun 2017 03:07:28 +0000 (11:07 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 7 Jul 2017 15:25:13 +0000 (17:25 +0200)
commit92e57e6287cc7402487edf3eb09c8a7b36dad63f
treee1a659c11bb69381e71c98828aa871505ada3820
parent439868812aac01ec5d1b133a51e768280f3fc8d5
ceph: don't re-send interrupted flock request

Don't re-send interrupted flock request in cases of mds failover
and receiving request forward. Because corresponding 'lock intr'
request may have been finished, it won't get re-sent.

Link: http://tracker.ceph.com/issues/20170
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/locks.c