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 f3dea7edd3d449fe7a6d402c1ce56a294b985261)
2012-06-20 07:43:50 -05:00
..
2012-06-11 10:29:07 -05:00
2012-04-16 21:08:18 +02:00
2012-06-13 15:57:31 -07:00
2012-04-25 19:47:17 -04:00
2012-05-17 04:50:21 -04:00
2012-04-15 12:44:40 -04:00
2012-05-17 18:45:20 -04:00
2012-05-17 04:50:21 -04:00
2012-06-15 17:37:23 -07:00
2012-05-27 01:11:22 -04:00
2010-10-15 15:53:27 +02:00