diff options
author | Raghavendra G <raghavendra@gluster.com> | 2010-10-25 00:11:51 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-10-24 23:17:44 -0700 |
commit | 54219ecf2ad344a55e974ff4b86a02408c9c17f2 (patch) | |
tree | e7c012f886c67cfcd9a34c1121a2ccc164578468 /libglusterfs | |
parent | 1e1f97a89cdd454bcfbf158ae7520932bacb1aa1 (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
Diffstat (limited to 'libglusterfs')
-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 fa1ad198d..d5883f316 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, |