From 64fd835d84ce2ca8f86178b65885479cee68fe8e Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Mon, 25 Oct 2010 00:13:39 +0000 Subject: xlator.c/option-validation: change the log level to warning when given value is out of range. Signed-off-by: Raghavendra G Signed-off-by: Anand V. Avati BUG: 1214 (When cache-size is given out of range, error is logged but GlusterFS starts) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1214 --- libglusterfs/src/xlator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libglusterfs/src/xlator.c') diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c index fe688a951..b710b9e5e 100644 --- a/libglusterfs/src/xlator.c +++ b/libglusterfs/src/xlator.c @@ -320,7 +320,7 @@ _volume_option_value_validate (xlator_t *xl, } if ((input_size < opt->min) || (input_size > opt->max)) { - gf_log (xl->name, GF_LOG_ERROR, + gf_log (xl->name, GF_LOG_WARNING, "'%"PRId64"' in 'option %s %s' is " "out of range [%"PRId64" - %"PRId64"]", input_size, pair->key, -- cgit