summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2010-10-07 10:15:18 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-07 11:55:47 -0700
commit95d595d9cbe727401021cf1caf0d59b3ab12d454 (patch)
tree1e20ce0f248d4401322b65e25a1eb8bb3963bbcd
parente7178b0646d1542faea6d6acab0291ca0d176b35 (diff)
mgmt/glusterd: Always kill nfs with SIGKILL
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1853 (kill nfs process with SIGKILL while restarting) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1853
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index 01c29ddb28c..2e219a2618d 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -1790,7 +1790,7 @@ glusterd_nfs_server_stop ()
GLUSTERD_GET_NFS_DIR(path, priv);
GLUSTERD_GET_NFS_PIDFILE(pidfile);
- return glusterd_service_stop ("nfsd", pidfile, SIGTERM, _gf_true);
+ return glusterd_service_stop ("nfsd", pidfile, SIGKILL, _gf_true);
}
int