From 7c1415fa591172765ab1e7dc1b049bf162d53788 Mon Sep 17 00:00:00 2001 From: Gaurav Kumar Garg Date: Wed, 6 May 2015 14:23:34 +0530 Subject: features/bitrot: scrubber should crawl based on the scrubber frequency value Currently scrubber is crawling all the files continuously. It should crawl files based on the scrubber frequency which user have set. By default scrubber crawling frequency value will be biweekly. Change-Id: I5762a92c1e700134cfe4283d1f631904adbfe31d BUG: 1208131 Signed-off-by: Gaurav Kumar Garg Reviewed-on: http://review.gluster.org/10602 Tested-by: Gluster Build System Reviewed-by: Raghavendra Bhat Reviewed-by: Vijay Bellur --- xlators/features/bit-rot/src/bitd/bit-rot.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/features/bit-rot/src/bitd/bit-rot.c') diff --git a/xlators/features/bit-rot/src/bitd/bit-rot.c b/xlators/features/bit-rot/src/bitd/bit-rot.c index 61d461f897b..b9adbd6647c 100644 --- a/xlators/features/bit-rot/src/bitd/bit-rot.c +++ b/xlators/features/bit-rot/src/bitd/bit-rot.c @@ -1728,6 +1728,7 @@ struct volume_options options[] = { }, { .key = {"scrub-freq"}, .type = GF_OPTION_TYPE_STR, + .default_value = "biweekly", .description = "Scrub frequency for volume ", }, { .key = {"scrub-state"}, -- cgit