diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2017-05-14 12:34:15 +0530 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-05-15 12:15:02 +0000 |
commit | cb6837d03658c1005475d4040fa95504b3fd84d0 (patch) | |
tree | 840588d8bea8fe456c8729b03a3b2ca2ef551d21 /glusterfsd/src/glusterfsd-mgmt.c | |
parent | 250cdb3005691b809cee5f30846c459408a6fea9 (diff) |
brick mux: Detach brick on posix health check failure
With brick mux enabled, we'd need to detach a particular brick if the
underlying backend has gone bad. This patch addresses the same.
Change-Id: Icfd469c7407cd2d21d02e4906375ec770afeacc3
BUG: 1450630
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: https://review.gluster.org/17287
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
Diffstat (limited to 'glusterfsd/src/glusterfsd-mgmt.c')
-rw-r--r-- | glusterfsd/src/glusterfsd-mgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c index a22568c3323..698cd708799 100644 --- a/glusterfsd/src/glusterfsd-mgmt.c +++ b/glusterfsd/src/glusterfsd-mgmt.c @@ -184,7 +184,7 @@ glusterfs_terminate_response_send (rpcsvc_request_t *req, int op_ret) return ret; } -static void +void glusterfs_autoscale_threads (glusterfs_ctx_t *ctx, int incr) { struct event_pool *pool = ctx->event_pool; |