ceph: make sure flushsnap messages are sent in proper order
authorYan, Zheng <zyan@redhat.com>
Tue, 15 Aug 2017 03:37:32 +0000 (11:37 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 6 Sep 2017 17:56:47 +0000 (19:56 +0200)
commit24d063acc26fa7ccebc7aa05498fa3818e660df6
tree6d47f0f22cb5f538cc05e0705bfffac03f60861e
parenta5cd74ad388c1318554e24820b77ce335a27e0ef
ceph: make sure flushsnap messages are sent in proper order

Before sending new flushsnap message, check if there are old
flushsnap messages that need to be re-sent. If there are, re-send
old messages first. This guarantees ordering of flushsnap messages.

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