summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2010-09-30 02:22:52 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-30 01:52:14 -0700
commitb7aed950dbeba2fdc952f734ca2f713acee2345d (patch)
tree559c90e1a029b2b169c30267c76dc9184ca558f5
parent65c704747809e126edde164cd0ce9f98ea7f6dc8 (diff)
mgmt/glusterd: remove debug messages in cleanup_and_exit
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1746 (volume delete fails after volume stop) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1746
-rw-r--r--glusterfsd/src/glusterfsd.c2
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index 332f8f3a740..10ed3310919 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -681,9 +681,7 @@ 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;
}
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index 17732293729..923dbc67e7e 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -801,7 +801,8 @@ glusterd_service_stop (const char *service, char *pidfile, int sig,
ret = kill (pid, SIGKILL);
if (ret) {
gf_log ("", GF_LOG_ERROR, "Unable to "
- "kill pid %d", pid);
+ "kill pid %d reason: %s", pid,
+ strerror(errno));
goto out;
}
ret = unlink (pidfile);