]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: clean up send_mds_reconnect interface
authorSage Weil <sage@newdream.net>
Mon, 10 May 2010 23:31:25 +0000 (16:31 -0700)
committerSage Weil <sage@newdream.net>
Mon, 17 May 2010 22:25:35 +0000 (15:25 -0700)
commit37eae60c8be7696427999ec8b36e034a72892ae3
treee66408bc69b59a8a096feeadda16984c3da563e4
parenta5b47ba973fc55adc7c1ca54529cce8e2a9338e7
ceph: clean up send_mds_reconnect interface

Pass a ceph_mds_session, since the caller has it.

Remove the dead code for sending empty reconnects.  It used to be used
when the MDS contacted _us_ to solicit a reconnect, and we could reply
saying "go away, I have no session."  Now we only send reconnects based
on the mds map, and only when we do in fact have an open session.

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