From fb20db2078dd7fe1a202f8c0c6f8bd7ecc7ff875 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 30 Jun 2015 18:45:36 +0530 Subject: cluster/ec: Add throttling in background healing - 8 parallel heals can happen. - 128 heals will wait for their turn - Heals will be rejected if 128 heals are already waiting. Change-Id: I2e99bf064db7bce71838ed9901a59ffd565ac390 BUG: 1237381 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/11471 Tested-by: Gluster Build System Reviewed-by: Xavier Hernandez Tested-by: NetBSD Build System --- xlators/cluster/ec/src/ec-common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/cluster/ec/src/ec-common.h') diff --git a/xlators/cluster/ec/src/ec-common.h b/xlators/cluster/ec/src/ec-common.h index 3334a7bfe0e..4c7fe0c820b 100644 --- a/xlators/cluster/ec/src/ec-common.h +++ b/xlators/cluster/ec/src/ec-common.h @@ -112,5 +112,6 @@ void ec_resume_parent(ec_fop_data_t * fop, int32_t error); void ec_manager(ec_fop_data_t * fop, int32_t error); gf_boolean_t ec_is_recoverable_error (int32_t op_errno); +void ec_handle_healers_done (ec_fop_data_t *fop); #endif /* __EC_COMMON_H__ */ -- cgit