summaryrefslogtreecommitdiffstats
path: root/glusterfsd
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2018-04-23 16:03:42 +0530
committerAmar Tumballi <amarts@redhat.com>2018-05-04 04:49:52 +0000
commite2ee5cb2ad9f207d43bcacc4bb5dc460aac5df00 (patch)
treedd0141d97a29fba668b6b2d565cca44762e998eb /glusterfsd
parentaf132df34c6e7d74af0947ce3ef391546907f028 (diff)
glusterfsd: initiate pmap_signout for all detach brick requests
In glusterfs_handle_terminate all bricks getting detached need to initiate a pmap_signout. Change-Id: Iacbd6fcd49215fe6a5210df7dfed1260fde9179a Fixes: bz#1570011 Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'glusterfsd')
-rw-r--r--glusterfsd/src/glusterfsd-mgmt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c
index 0051393b4ca..db961c86304 100644
--- a/glusterfsd/src/glusterfsd-mgmt.c
+++ b/glusterfsd/src/glusterfsd-mgmt.c
@@ -261,6 +261,7 @@ glusterfs_handle_terminate (rpcsvc_request_t *req)
if (victim->cleanup_starting)
goto err;
+ rpc_clnt_mgmt_pmap_signout (glusterfsd_ctx, xlator_req.name);
victim->cleanup_starting = 1;
UNLOCK (&ctx->volfile_lock);