]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: Kill C_SaferCond in evict_sessions() 9971/head
authorDouglas Fuller <dfuller@redhat.com>
Mon, 27 Jun 2016 19:30:11 +0000 (12:30 -0700)
committerDouglas Fuller <dfuller@redhat.com>
Fri, 1 Jul 2016 13:40:20 +0000 (06:40 -0700)
commit3a4d63ee67765010a8e53af5a89aef4f49fafd56
tree26a14663390784c5408547b9256301d4abe7c149
parent22670bb1268819cf97aca3e0452df2817ce61e38
mds: Kill C_SaferCond in evict_sessions()

MDSRankDispatcher::evict_sessions waits on a C_SaferCond for
kill_session to complete on each of its victims. Change the
command handling flow to pass command messages all the way down
to MDSRankDispatcher. Extract the MDSDaemon's reply path into a
static function callable from a new context in the MDSRankDispatcher.

See: http://tracker.ceph.com/issues/16288
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
src/mds/MDSDaemon.cc
src/mds/MDSDaemon.h
src/mds/MDSRank.cc
src/mds/MDSRank.h