Bug 762311 (GLUSTER-579)

Summary: write-behind cache-size less than 128KB leads to error
Product: [Community] GlusterFS Reporter: Prithu Tiwari <prithu>
Component: write-behindAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.0.0CC: anush, fharshav, gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTA Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Prithu Tiwari 2010-01-29 07:26:51 UTC
If one tries to give translator "write-behind" option "cache-size" a value less
than 128KB - it results in an error 

[write-behind.c:2511:init] aggregate-size(2048) cannot be more than window-size(131072)




>> This message is inherently wrong as we can see 2048 is less than 131072.



Can be easily reproduced giving cache-size option in the write-behind vol-specs.

Comment 1 Anand Avati 2010-01-29 11:17:36 UTC
PATCH: http://patches.gluster.com/patch/2720 in master (performance/write-behind: Set right an incorrect message displayed in log)