ceph: re-send flushing caps (which are revoked) in reconnect stage
authorYan, Zheng <zyan@redhat.com>
Wed, 10 Jun 2015 07:17:56 +0000 (15:17 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 25 Jun 2015 08:49:31 +0000 (11:49 +0300)
commite548e9b93d3e565e42b938a99804114565be1f81
tree13de716de6a024a26ad3930312e67685299e44c6
parenta2971c8ccb9bd7677a6c43cdbed9aacfef5e9f26
ceph: re-send flushing caps (which are revoked) in reconnect stage

if flushing caps were revoked, we should re-send the cap flush in
client reconnect stage. This guarantees that MDS processes the cap
flush message before issuing the flushing caps to other client.

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