ceph: only send cap releases when mds is OPEN|HUNG
authorSage Weil <sage@newdream.net>
Wed, 17 Mar 2010 23:30:21 +0000 (16:30 -0700)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:34 +0000 (15:25 -0700)
commitaab53dd9e81ccefa7b8d88eec5138dd73639a783
treeb61a95b826507b403a84177436ff83a999e10c4c
parente01a594646ebbf964b6058e3bf28125379063439
ceph: only send cap releases when mds is OPEN|HUNG

On OPENING we shouldn't have any caps (or releases).
On CLOSING, we should wait until we succeed (and throw it all out), or
don't (and are OPEN again).
On RECONNECTING we can wait until we are OPEN.

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