• Sage Weil's avatar
    libceph: flush msgr queue during mon_client shutdown · 642c0dbd
    Sage Weil authored
    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: 's avatarSage Weil <sage@inktank.com>
    Reviewed-by: 's avatarAlex Elder <elder@inktank.com>
    (cherry picked from commit f3dea7ed)
    642c0dbd
Name
Last commit
Last update
..
crush Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
armor.c Loading commit data...
auth.c Loading commit data...
auth_none.c Loading commit data...
auth_none.h Loading commit data...
auth_x.c Loading commit data...
auth_x.h Loading commit data...
auth_x_protocol.h Loading commit data...
buffer.c Loading commit data...
ceph_common.c Loading commit data...
ceph_fs.c Loading commit data...
ceph_hash.c Loading commit data...
ceph_strings.c Loading commit data...
crypto.c Loading commit data...
crypto.h Loading commit data...
debugfs.c Loading commit data...
messenger.c Loading commit data...
mon_client.c Loading commit data...
msgpool.c Loading commit data...
osd_client.c Loading commit data...
osdmap.c Loading commit data...
pagelist.c Loading commit data...
pagevec.c Loading commit data...