Bug 729092

Summary: GFS2: Not enough space reserved in gfs2_write_begin and possibly elsewhere.
Product: Red Hat Enterprise Linux 5 Reporter: Ken Reilly <kreilly>
Component: kernelAssignee: Phillip Lougher <plougher>
Status: CLOSED ERRATA QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.7CC: adas, anton, bmarzins, casmith, cww, dhoward, dougsland, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mjuricek, pm-eus, rpeterso, sforsber, swhiteho
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-2.6.18-238.24.1.el5 Doc Type: Bug Fix
Doc Text:
Some of the functions in the GFS2 file system were not reserving enough space for the resource group header in a transaction and for resource groups bit blocks that get added when a memory allocation is performed. That resulted in failed write and allocation operations. With this update, GFS2 makes sure to reserve space in the described scenario, using the new gfs2_rg_blocks() inline function.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-20 17:51:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 637970    
Bug Blocks:    

Comment 5 Phillip Lougher 2011-08-30 16:42:29 UTC
in kernel-2.6.18-238.24.1.el5

linux-2.6-fs-gfs2-reserve-more-blocks-for-transactions.patch

Comment 8 errata-xmlrpc 2011-09-20 17:51:38 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-1321.html

Comment 9 Martin Prpič 2011-09-22 09:19:34 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:
Some of the functions in the GFS2 file system were not reserving enough space for the resource group header in a transaction and for resource groups bit blocks that get added when a memory allocation is performed. That resulted in failed write and allocation operations. With this update, GFS2 makes sure to reserve space in the described scenario, using the new gfs2_rg_blocks() inline function.