ceph: dicard cap releases on mds restart
authorSage Weil <sage@newdream.net>
Mon, 10 May 2010 22:36:44 +0000 (15:36 -0700)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:33 +0000 (15:25 -0700)
commite01a594646ebbf964b6058e3bf28125379063439
tree046b2acf54f803b60e873f419014472128103d53
parentf8c76f6f250edbdc9d2011b0e05d196a3d8ae895
ceph: dicard cap releases on mds restart

If the MDS restarts, the expire caps state is no longer shared, and can be
thrown out.  Caps state will be rebuilt on the MDS during the reconnect
process that follows.  Zero out any release messages and adjust the
release counter accordingly.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/mds_client.c