diff options
author | Sage Weil <sage@newdream.net> | 2010-05-29 12:41:23 -0400 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-05-29 12:42:03 -0400 |
commit | a922d38fd10d55d5033f10df15baf966e8f5b18c (patch) | |
tree | 306f73dedd5482f09bdac6dc9ecb5285f95b316f /fs/ceph/messenger.h | |
parent | dd1c9057366f329911180e9000e2b425f23fc287 (diff) |
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>
Diffstat (limited to 'fs/ceph/messenger.h')
-rw-r--r-- | fs/ceph/messenger.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/messenger.h b/fs/ceph/messenger.h index 00a9430b1ff..76fbc957bc1 100644 --- a/fs/ceph/messenger.h +++ b/fs/ceph/messenger.h | |||
@@ -213,6 +213,7 @@ extern int ceph_parse_ips(const char *c, const char *end, | |||
213 | 213 | ||
214 | extern int ceph_msgr_init(void); | 214 | extern int ceph_msgr_init(void); |
215 | extern void ceph_msgr_exit(void); | 215 | extern void ceph_msgr_exit(void); |
216 | extern void ceph_msgr_flush(void); | ||
216 | 217 | ||
217 | extern struct ceph_messenger *ceph_messenger_create( | 218 | extern struct ceph_messenger *ceph_messenger_create( |
218 | struct ceph_entity_addr *myaddr); | 219 | struct ceph_entity_addr *myaddr); |