Bug 451317

Summary: deadlock when rpc_malloc tries to flush NFS pages
Product: Red Hat Enterprise Linux 5 Reporter: Jeff Layton <jlayton>
Component: kernelAssignee: Jeff Layton <jlayton>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: fhirtz, jiali, lwoodman, staubach, steved, tao, vgoyal
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:14: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: 450743    
Bug Blocks:    
Attachments:
Description Flags
proposed patch -- don't allow rpc_malloc to block none

Comment 1 Jeff Layton 2008-06-13 19:45:38 UTC
Cloning bug for RHEL5. I think it's likely to be vulnerable to the same problem.
Lowering sev/pri here though since no one has hit this on RHEL5 that I'm aware of...


Comment 2 RHEL Program Management 2008-06-19 14:24:21 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 Jeff Layton 2008-07-07 11:01:02 UTC
*** Bug 454266 has been marked as a duplicate of this bug. ***

Comment 5 Jeff Layton 2008-07-07 11:24:21 UTC
Created attachment 311138 [details]
proposed patch -- don't allow rpc_malloc to block

proposed patch -- untested as of yet

Comment 6 Jeff Layton 2008-07-09 13:24:22 UTC
Tested and seems to work OK

Comment 7 Jeff Layton 2008-07-09 13:24:58 UTC
Patch posted to RHKL:

Subject: [RHEL5.3 PATCH] BZ#451317: sunrpc: prevent deadlock by not allowing
rpc_malloc to sleep

Comment 8 Don Zickus 2008-07-18 20:07:48 UTC
in kernel-2.6.18-98.el5
You can download this test kernel from http://people.redhat.com/dzickus/el5

Comment 12 errata-xmlrpc 2009-01-20 20:14:38 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