ceph: close out mds, osd connections before stopping auth
authorSage Weil <sage@newdream.net>
Sat, 29 May 2010 16:41:23 +0000 (09:41 -0700)
committerSage Weil <sage@newdream.net>
Sat, 29 May 2010 16:42:03 +0000 (09:42 -0700)
commita922d38fd10d55d5033f10df15baf966e8f5b18c
tree306f73dedd5482f09bdac6dc9ecb5285f95b316f
parentdd1c9057366f329911180e9000e2b425f23fc287
ceph: close out mds, osd connections before stopping auth

The auth module (part of the mon_client) is needed to free any
ceph_authorizer(s) used by the mds and osd connections.  Flush the msgr
workqueue before stopping monc to ensure that the destroy_authorizer
auth op is available when those connections are closed out.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/messenger.c
fs/ceph/messenger.h
fs/ceph/super.c