diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-10-25 00:13:39 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-10-24 23:17:54 -0700 |
commit | 64fd835d84ce2ca8f86178b65885479cee68fe8e (patch) | |
tree | b1c8e9c88cd08d54e8dace9a7ec471012f98fee1 | |
parent | 5cbc81a8d32434ff0c3e104ec802bcdc8c582f20 (diff) |
xlator.c/option-validation: change the log level to warning when given value is out of range.
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
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
-rw-r--r-- | libglusterfs/src/xlator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/xlator.c b/libglusterfs/src/xlator.c index fe688a9513d..b710b9e5ea5 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, |