ceph: kick cap flushes before sending other cap message
authorYan, Zheng <zyan@redhat.com>
Thu, 7 Jul 2016 10:34:45 +0000 (18:34 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 28 Jul 2016 01:00:44 +0000 (03:00 +0200)
commit7bc00fddb9de7f78f742bc24d95e15abde15c078
tree2432ff3373fdebe08deb790540bf0df7b8403bd3
parent70220ac8c220495b2a335868293be80a31dfdd4a
ceph: kick cap flushes before sending other cap message

If ceph_check_caps() wants to send cap message to a recovering MDS,
make sure it kicks cap flushes first.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/caps.c