]> asedeno.scripts.mit.edu Git - linux.git/commit
ceph: reset cap hold timeout only for requeued inode
authorChengguang Xu <cgxu519@gmx.com>
Mon, 30 Jul 2018 15:55:36 +0000 (23:55 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 22 Oct 2018 08:28:19 +0000 (10:28 +0200)
commit3167893ae60e847b5a44d582fedb544cd0ae7ef5
tree4919d6e5873983578d43b0d33b6396b56a955d01
parent84df9525b0c27f3ebc2ebb1864fa62a97fdedb7d
ceph: reset cap hold timeout only for requeued inode

__cap_delay_requeue() only requeue inode which does not
have CEPH_I_FLUSH flag, so avoid reset cap hold timeout
for that inode.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c