| Summary: | write-behind cache-size less than 128KB leads to error | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Prithu Tiwari <prithu> |
| Component: | write-behind | Assignee: | Raghavendra G <raghavendra> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.0.0 | CC: | 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: | |
PATCH: http://patches.gluster.com/patch/2720 in master (performance/write-behind: Set right an incorrect message displayed in log) |
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.