Bug 762311 (GLUSTER-579) - write-behind cache-size less than 128KB leads to error
Summary: write-behind cache-size less than 128KB leads to error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-579
Product: GlusterFS
Classification: Community
Component: write-behind
Version: 3.0.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-29 07:26 UTC by Prithu Tiwari
Modified: 2015-12-01 16:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTA
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.