]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: close mds sessions in shutdown()
authorJohn Spray <john.spray@redhat.com>
Thu, 15 Oct 2015 00:31:16 +0000 (01:31 +0100)
committerJohn Spray <john.spray@redhat.com>
Tue, 24 Nov 2015 15:12:12 +0000 (15:12 +0000)
commit07a748310dbc183cb5a3a52e92497dc5b91e2722
tree90a0960edec49c892c0961181c2c6504532d2b1a
parent1e9aeb5728e2baacdf017b17f4f3b5a02496e1fd
client: close mds sessions in shutdown()

Usually this happens in unmount(), but when we
have instantiated Client without mounting (to
send MDS commands), we need to handle closing
any open sessions in shutdown as well.

This is the correct replacement for the mark_down()
call that was removed from handle_command_reply
in the last commit.

Signed-off-by: John Spray <john.spray@redhat.com>
src/client/Client.cc
src/client/Client.h