From 6a163b22144a689cd89a6a605715959e654ea015 Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Thu, 5 Dec 2013 11:16:55 +0530 Subject: dht: Set status to FAILED when rebalance stops due to brick going down Change-Id: I98da41342127b1690d887a5bc025e4c9dd504894 BUG: 1038452 Signed-off-by: Kaushal M Reviewed-on: http://review.gluster.org/6435 Tested-by: Gluster Build System Reviewed-by: Shishir Gowda Reviewed-by: Vijay Bellur --- xlators/cluster/dht/src/dht-common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xlators/cluster/dht/src/dht-common.h') diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 0497352e9a8..d391b87d50f 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -732,7 +732,8 @@ int gf_defrag_status_get (gf_defrag_info_t *defrag, dict_t *dict); int -gf_defrag_stop (gf_defrag_info_t *defrag, dict_t *output); +gf_defrag_stop (gf_defrag_info_t *defrag, gf_defrag_status_t status, + dict_t *output); void* gf_defrag_start (void *this); -- cgit