From c5a5fea9e6a1f1709e6826c1eea89dfd25cc496b Mon Sep 17 00:00:00 2001 From: Pavan Sondur Date: Thu, 23 Sep 2010 09:18:37 +0000 Subject: mgmt/glusterd: Misc fixes to pump / cli / glusterd wrt replace brick. Patches from Vijay and Shishir have been pulled in into this one big patch. Signed-off-by: Pavan Vilas Sondur Signed-off-by: Vijay Bellur BUG: 1235 (Bug for all pump/migrate commits) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1235 --- glusterfsd/src/glusterfsd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'glusterfsd/src/glusterfsd.c') diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c index e383f96fd8..d73be8fdd3 100644 --- a/glusterfsd/src/glusterfsd.c +++ b/glusterfsd/src/glusterfsd.c @@ -645,6 +645,7 @@ cleanup_and_exit (int signum) /* TODO: is this the right place? */ glusterfs_mgmt_pmap_signout (ctx); + if (ctx && ctx->mgmt) rpc_clnt_destroy (ctx->mgmt); @@ -664,7 +665,9 @@ cleanup_and_exit (int signum) while (trav) { if (trav->fini) { THIS = trav; + gf_log ("", GF_LOG_NORMAL, "Calling fini for %s", trav->name); trav->fini (trav); + gf_log ("", GF_LOG_NORMAL, "Done Calling fini for %s", trav->name); } trav = trav->next; } -- cgit