]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8494cbd9e1406f53379c588b84644b87094937dc
tree306f73dedd5482f09bdac6dc9ecb5285f95b316f
parentdea366412a484e4cc4ff43a62238ef44c5c2bd8f
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