kernel_optimize_test/net/ceph
Sage Weil 642c0dbde3 libceph: flush msgr queue during mon_client shutdown
We need to flush the msgr workqueue during mon_client shutdown to
ensure that any work affecting our embedded ceph_connection is
finished so that we can be safely destroyed.

Previously, we were flushing the work queue after osd_client
shutdown and before mon_client shutdown to ensure that any osd
connection refs to authorizers are flushed.  Remove the redundant
flush, and document in the comment that the mon_client flush is
needed to cover that case as well.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
(cherry picked from commit f3dea7edd3)
2012-06-20 07:43:50 -05:00
..
crush
armor.c
auth_none.c
auth_none.h
auth_x_protocol.h
auth_x.c
auth_x.h
auth.c
buffer.c
ceph_common.c libceph: flush msgr queue during mon_client shutdown 2012-06-20 07:43:50 -05:00
ceph_fs.c
ceph_hash.c
ceph_strings.c
crypto.c
crypto.h
debugfs.c
Kconfig
Makefile
messenger.c rbd: Clear ceph_msg->bio_iter for retransmitted message 2012-06-20 07:43:50 -05:00
mon_client.c libceph: flush msgr queue during mon_client shutdown 2012-06-20 07:43:50 -05:00
msgpool.c
osd_client.c libceph: use con get/put ops from osd_client 2012-06-20 07:43:49 -05:00
osdmap.c
pagelist.c
pagevec.c