ceph: send cap releases more aggressively
authorYan, Zheng <zyan@redhat.com>
Mon, 14 Jan 2019 09:21:19 +0000 (17:21 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 5 Mar 2019 17:55:16 +0000 (18:55 +0100)
commite3ec8d6898f71636a067dae683174ef9bf81bc96
treece14ef6392b06d84016f35e96e140dce9dcc12a4
parent08796873a5183bfaab52a3bd899fe82f9e64be94
ceph: send cap releases more aggressively

When pending cap releases fill up one message, start a work to send
cap release message. (old way is sending cap releases every 5 seconds)

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c
fs/ceph/inode.c
fs/ceph/mds_client.c
fs/ceph/mds_client.h
fs/ceph/super.c
fs/ceph/super.h