diff options
author | Sage Weil <sage@inktank.com> | 2012-06-11 05:43:56 +0200 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-06-20 14:43:50 +0200 |
commit | 642c0dbde32f34baa7886e988a067089992adc8f (patch) | |
tree | fc5fb85655f6c2c6d9a184ff00014fd3f85b8a83 /drivers/isdn/divert | |
parent | rbd: Clear ceph_msg->bio_iter for retransmitted message (diff) | |
download | linux-642c0dbde32f34baa7886e988a067089992adc8f.tar.xz linux-642c0dbde32f34baa7886e988a067089992adc8f.zip |
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)
Diffstat (limited to 'drivers/isdn/divert')
0 files changed, 0 insertions, 0 deletions