summaryrefslogtreecommitdiffstats
path: root/xlators/performance/write-behind
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2011-08-19 14:56:13 +0530
committerAnand Avati <avati@gluster.com>2011-08-19 03:06:19 -0700
commitdd2c197c1d5d5942a65c860997ec1d5793ef249f (patch)
treeb64d3d9af03c042f2da4a9f7cb349d5a0f8bb508 /xlators/performance/write-behind
parent0143a2ef653d0f7a337c8220f127655dadbca942 (diff)
option validation: further fixes
fixes in option handling changes Change-Id: I0a44cdb088e3f08cd43d583a580736d0903fa88c BUG: 3415 Reviewed-on: http://review.gluster.com/261 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators/performance/write-behind')
-rw-r--r--xlators/performance/write-behind/src/write-behind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/write-behind/src/write-behind.c b/xlators/performance/write-behind/src/write-behind.c
index 1eff4385ae3..361c90d7eb2 100644
--- a/xlators/performance/write-behind/src/write-behind.c
+++ b/xlators/performance/write-behind/src/write-behind.c
@@ -3035,7 +3035,7 @@ struct volume_options options[] = {
},
{ .key = {"disable-for-first-nbytes"},
.type = GF_OPTION_TYPE_SIZET,
- .min = 1,
+ .min = 0,
.max = 1 * GF_UNIT_MB,
.default_value = "0",
},