summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kparthas@redhat.com>2013-12-23 14:09:54 +0530
committerVijay Bellur <vbellur@redhat.com>2013-12-23 06:59:09 -0800
commit0a99ef20b8e8f3486f5ada8e82e4634eb9fbf62b (patch)
treea81100ca7de56ef8d1a179e5986e303f82ed194b /xlators/mgmt/glusterd/src/glusterd-volume-ops.c
parentb546d4fb59230eb0bba102496bca53bb0a5c86f9 (diff)
glusterd: ignore failure to stop a stopped service.
Backport of http://review.gluster.org/6525 kill(2) returns -1 with errno set to ESRCH when the pid of the process being killed doesn't exist. Failing glusterd_brick_stop on a stopped brick could result in volume-stop failing, in commit phase. This fix prevents that from happening. Change-Id: I00f46fa06e489a671efbb8e4119f545f8ccea329 BUG: 1038051 Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-on: http://review.gluster.org/6568 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-ops.c')
0 files changed, 0 insertions, 0 deletions