From 54219ecf2ad344a55e974ff4b86a02408c9c17f2 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Mon, 25 Oct 2010 00:11:51 +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') diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c index fa1ad198da7..d5883f31628 100644 --- a/libglusterfs/src/xlator.c +++ b/libglusterfs/src/xlator.c @@ -313,7 +313,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