From: Sage Weil Date: Mon, 11 Jun 2012 03:43:56 +0000 (-0700) Subject: libceph: flush msgr queue during mon_client shutdown X-Git-Tag: v3.6-rc1~36^2~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3dea7edd3d449fe7a6d402c1ce56a294b985261;p=pandora-kernel.git 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 Reviewed-by: Alex Elder --- Reading git-diff-tree failed