From 35f96c039e8961e48af46af43b6ecf7a335feb15 Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Thu, 17 Sep 2009 05:56:32 +0000 Subject: cluster/afr: Add new option "data-self-heal-algorithm" option: data-self-heal-algorithm type: string default: "full" This option allows the user to specify the algorithm to be used for data self-heal. Currently supported values are "full" and "diff". Signed-off-by: Anand V. Avati --- xlators/cluster/afr/src/afr-self-heal-algorithm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators/cluster/afr/src/afr-self-heal-algorithm.h') diff --git a/xlators/cluster/afr/src/afr-self-heal-algorithm.h b/xlators/cluster/afr/src/afr-self-heal-algorithm.h index 8998ce88..b5dba06e 100644 --- a/xlators/cluster/afr/src/afr-self-heal-algorithm.h +++ b/xlators/cluster/afr/src/afr-self-heal-algorithm.h @@ -29,7 +29,7 @@ struct afr_sh_algorithm { afr_sh_algo_fn fn; }; -struct afr_sh_algorithm afr_self_heal_algorithms[2]; +struct afr_sh_algorithm afr_self_heal_algorithms[3]; typedef struct { uint8_t *checksum; /* array of MD5 checksums for each child -- cgit