ceph: drop cap releases in requests composed before cap reconnect
authorYan, Zheng <zyan@redhat.com>
Fri, 27 Feb 2015 00:54:08 +0000 (08:54 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Apr 2015 14:30:22 +0000 (17:30 +0300)
commit6e6f09231a134e7523514ed504380f5caafc9334
treea30c557f5f3dd51664c9624e352fbd01ce904f2c
parent39a8804455fb23f09157341d3ba7db6d7ae6ee76
ceph: drop cap releases in requests composed before cap reconnect

These cap releases are stale because MDS will re-establish client
caps according to the cap reconnect messages.

Note: MDS can detect stale cap messages, so these stale cap
releases are harmless even we don't drop them.

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