summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src
diff options
context:
space:
mode:
authorKaushik BV <kaushikbv@gluster.com>2010-09-06 03:28:06 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-15 05:09:22 -0700
commit2ea1c2b68c46b8315790900291b18eb6f04010f9 (patch)
treeacc246e4dc195477bcf8fbc4139cfc9b615824ab /glusterfsd/src
parent703dbf354d53fdcc37851bb71420730675a7e170 (diff)
Deadlock in state dumping while holding the logging lock
Signed-off-by: Kaushik BV <kaushikbv@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 976 (Deadlock in state dumping while holding the logging lock) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=976
Diffstat (limited to 'glusterfsd/src')
-rw-r--r--glusterfsd/src/glusterfsd.c13
1 files changed, 3 insertions, 10 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index bd2d704b8..0fd739cb4 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -1153,15 +1153,9 @@ glusterfs_sigwaiter (void *arg)
for (;;) {
ret = sigwait (&set, &sig);
- if (ret) {
- gf_log ("sigwaiter", GF_LOG_ERROR,
- "sigwait returned error (%s)",
- strerror (ret));
+ if (ret)
continue;
- }
-
- gf_log ("sigwaiter", GF_LOG_DEBUG,
- "received signal %d", sig);
+
switch (sig) {
case SIGINT:
@@ -1178,8 +1172,7 @@ glusterfs_sigwaiter (void *arg)
gf_latency_toggle (sig);
break;
default:
- gf_log ("sigwaiter", GF_LOG_ERROR,
- "unhandled signal: %d", sig);
+
break;
}
}