Red Hat Bugzilla – Bug 782095
[glusterfs-3.2.6qa1]: if io-cache min-file-size is greater than max-file-size, then glusterd shows the wrong values
Last modified: 2013-07-24 13:20:52 EDT
Description of problem:
If maximum file size to be cached is lesser than the minimum file size to be cached, then io-cache reconfigure will set both min-file-size and max-file-size to the old value (according to the log message).
[2012-01-16 19:23:30.995499] E [io-cache.c:1673:reconfigure] 0-io-cache: minimum size (23068672) of a file that can be cached is greater than maximum size (23068672). Hence Defaulting to old value
But gluster volume info still shows the wrong input value given by the user only.
gluster volume info
Volume Name: vol
Number of Bricks: 1
Version-Release number of selected component (if applicable):
Steps to Reproduce:
see if its still valid with master code.
Checked in master. It is reproducible in master.
CHANGE: http://review.gluster.org/4541 (glusterd: Added validation function for performance cache max and min size.) merged in master by Anand Avati (email@example.com)
*** Bug 764706 has been marked as a duplicate of this bug. ***