]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ceph: wait for mds OPEN reply to indicate reconnect success
authorSage Weil <sage@newdream.net>
Thu, 18 Mar 2010 21:45:05 +0000 (14:45 -0700)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:35 +0000 (15:25 -0700)
commit29790f26ab3e63b2a083f0811b80e2f086e4fcb2
tree0d254b23871db399e036c019c121f6d5c7c7b3db
parentaab53dd9e81ccefa7b8d88eec5138dd73639a783
ceph: wait for mds OPEN reply to indicate reconnect success

We used to infer reconnect success by watching the MDS state, essentially
assuming that hearing nothing meant things were ok.  That wasn't
particularly reliable.  Instead, the MDS replies with an explicit OPEN
message to indicate success.

Strictly speaking, this is a protocol change, but it is a backwards
compatible one that does not break new clients + old servers or old
clients + new servers.  At least not yet.

Drop unused @all argument from kick_requests while we're at it.

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