Bug 831568

Summary: validation of cache-size value
Product: [Community] GlusterFS Reporter: Anush Shetty <ashetty>
Component: glusterdAssignee: Kaushal <kaushal>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.3.0CC: amarts, gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 13:34:25 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Anush Shetty 2012-06-13 06:30:47 EDT
Description of problem: Currently a user can set the cache-size value to 0 using volume set but mounting the fuse client fails when the cache-size is set to 0


Version-Release number of selected component (if applicable): 3.3.0qa45


How reproducible: Consistently


Steps to Reproduce:
1. gluster volume set amitest performance.cache-size 0
2.
3.
  
Actual results: 

Mounting fuse client fails 


Expected results:

Should we disallow setting the cache-size to 0?

Additional info:
Comment 1 Amar Tumballi 2012-07-11 01:17:18 EDT
fixed in http://review.gluster.com/3570 in master.