diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2018-04-23 16:03:42 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-05-04 04:49:52 +0000 |
commit | e2ee5cb2ad9f207d43bcacc4bb5dc460aac5df00 (patch) | |
tree | dd0141d97a29fba668b6b2d565cca44762e998eb | |
parent | af132df34c6e7d74af0947ce3ef391546907f028 (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>
-rw-r--r-- | glusterfsd/src/glusterfsd-mgmt.c | 1 |
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); |