diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-09-17 05:56:32 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-22 06:13:34 -0700 |
commit | 35f96c039e8961e48af46af43b6ecf7a335feb15 (patch) | |
tree | d73021e62255efd6d7d8f83820c472467409fda4 /xlators/cluster/afr/src/afr-self-heal-algorithm.c | |
parent | d2b7e65ec0c35c4ee16f28f449553d90fb88fa6a (diff) |
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 <avati@dev.gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-algorithm.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-algorithm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-algorithm.c b/xlators/cluster/afr/src/afr-self-heal-algorithm.c index f2d80c3e925..f6efcfa6605 100644 --- a/xlators/cluster/afr/src/afr-self-heal-algorithm.c +++ b/xlators/cluster/afr/src/afr-self-heal-algorithm.c @@ -582,4 +582,5 @@ afr_sh_algo_diff (call_frame_t *frame, xlator_t *this) struct afr_sh_algorithm afr_self_heal_algorithms[] = { {.name = "full", .fn = afr_sh_algo_full}, {.name = "diff", .fn = afr_sh_algo_diff}, + {0, 0}, }; |