Bug 733665

Summary: Incorrect values in /proc/sys/vm/dirty_writeback_centises and dirty_expire_centisecs [rhel-5.7.z]
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: kernelAssignee: Phillip Lougher <plougher>
Status: CLOSED ERRATA QA Contact: Petr Beňas <pbenas>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.6CC: cww, dhoward, jwest, lwoodman, pbenas, pm-eus, pstehlik, qcai, rruban, vincent
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-2.6.18-274.5.1.el5 Doc Type: Bug Fix
Doc Text:
When setting the value in the /proc/sys/vm/dirty_writeback_centisecs file via echo, the actual saved value was always one less than the given value (for example, setting 500 resulted in 499 being set). This update fixes this off-by-one error, and values in /proc/sys/vm/dirty_writeback_centisecs are now correctly set.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-20 17:31:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 691087    
Bug Blocks:    

Description RHEL Program Management 2011-08-26 12:37:56 UTC
This bug has been copied from bug #691087 and has been proposed
to be backported to 5.7 z-stream (EUS).

Comment 4 Phillip Lougher 2011-09-17 01:41:51 UTC
in kernel-2.6.18-274.5.1.el5

linux-2.6-mm-fix-incorrect-off-by-one-centisec-dirty-values.patch

Comment 7 Petr Beňas 2011-09-29 06:59:43 UTC
Reproduced in 2.6.18-274.4.1.el5 and verified in 2.6.18-274.5.1.el5.

Comment 8 Vincent S. Cojot 2011-09-29 09:00:59 UTC
Thanks for all the hard work on this issue, guys.
Best regards from France,
Vincent

Comment 9 errata-xmlrpc 2011-10-20 17:31:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2011-1386.html

Comment 10 Martin Prpič 2011-10-27 09:20:05 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When setting the value in the /proc/sys/vm/dirty_writeback_centisecs file via echo, the actual saved value was always one less than the given value (for example, setting 500 resulted in 499 being set). This update fixes this off-by-one error, and values in /proc/sys/vm/dirty_writeback_centisecs are now correctly set.