]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ceph: add flags parameter to send_cap_msg
authorJeff Layton <jlayton@redhat.com>
Thu, 10 Nov 2016 12:42:06 +0000 (07:42 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 12 Dec 2016 22:54:28 +0000 (23:54 +0100)
commit1e4ef0c6332bd90e6c70afc07b35dffaf1eab1a7
tree655329cb717f07afcf344759a133477f2f4bcfda
parent43b29673307387f7b939fceeedefd08ece13c41d
ceph: add flags parameter to send_cap_msg

Add a flags parameter to send_cap_msg, so we can request expedited
service from the MDS when we know we'll be waiting on the result.

Set that flag in the case of try_flush_caps. The callers of that
function generally wait synchronously on the result, so it's beneficial
to ask the server to expedite it.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/caps.c
include/linux/ceph/ceph_fs.h