ceph: kick flushing and flush snaps before sending normal cap message
authorYan, Zheng <zyan@redhat.com>
Thu, 20 Jun 2019 08:09:37 +0000 (16:09 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 8 Jul 2019 12:01:44 +0000 (14:01 +0200)
commitd6cee9dbd8c841795cd672b98069866789916648
tree9d9f9f5dbcf5f15a885ef6861876760046aa44b0
parent054f8d41affbaeddca15ac39366a1f2f4b4f4488
ceph: kick flushing and flush snaps before sending normal cap message

Otherwise client may send cap flush messages in wrong order.

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