Bug 471871

Summary: dlm: fix up memory allocation flags
Product: Red Hat Enterprise Linux 5 Reporter: Steve Whitehouse <swhiteho>
Component: kernelAssignee: David Teigland <teigland>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3CC: adas, bstevens, ccaulfie, dzickus, edamato, lwang, syeghiay, teigland
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-20 20:19:54 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: 460218    
Bug Blocks:    
Attachments:
Description Flags
dlm kernel patch none

Comment 2 David Teigland 2008-11-18 17:17:07 UTC
Created attachment 323931 [details]
dlm kernel patch

Memory allocations in the dlm should use GFP_NOFS to avoid looping back
into gfs to free memory, which may require dlm operations, causing deadlock.
Most dlm allocations already use GFP_NOFS (usually via ls_allocation), but
this patch fixes up some that have been missed.

AFAIK, no one has actually observed deadlock between dlm and gfs due to
any of the allocations changed by this patch.  But apparently the patch
still has an effect somehow, in delaying the onset of gfs2 bug 460218.

Comment 3 David Teigland 2008-11-18 18:59:38 UTC
posted to rhkernel-list
http://post-office.corp.redhat.com/archives/rhkernel-list/2008-November/msg00524.html

Comment 5 Don Zickus 2008-12-02 22:20:12 UTC
in kernel-2.6.18-125.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 8 errata-xmlrpc 2009-01-20 20:19:54 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2009-0225.html