Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 469650

Summary: [REG][5.2][NFSv4] Accessing the same file at the same time causes NFSv4 open() call to stall forever on NFS4ERR_DELAY
Product: Red Hat Enterprise Linux 5 Reporter: RHEL Program Management <pm-rhel>
Component: kernelAssignee: Jiri Pirko <jpirko>
Status: CLOSED ERRATA QA Contact: Martin Jenner <mjenner>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.2CC: ddomingo, duck, jlayton, lwang, mgahagan, pm-eus, rkhan, rlerch, rwheeler, staubach, steved, tao
Target Milestone: rcKeywords: Regression, ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-16 07:34: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:
Embargoed:
Bug Depends On: 441884    
Bug Blocks:    
Attachments:
Description Flags
patch 1 -- Poll aggressively when handling NFS4ERR_DELAY
none
patch 2 -- credential ref leak in nfs4_get_state_owner
none
patch 3 -- don't reuse expired nfs4_state_owner structs
none
patch 1 -- Poll aggressively when handling NFS4ERR_DELAY
none
patch 2 -- credential ref leak in nfs4_get_state_owner
none
patch 3 -- don't reuse expired nfs4_state_owner structs none

Description RHEL Program Management 2008-11-03 09:04:26 UTC
This bug has been copied from bug #441884 and has been proposed
to be backported to 5.2 z-stream (EUS).

Comment 2 RHEL Program Management 2008-11-03 09:29:28 UTC
This bugzilla has Keywords: Regression.  

Since no regressions are allowed between releases, 
it is also being proposed as a blocker for this release.  

Please resolve ASAP.

Comment 3 Jeff Layton 2008-11-07 22:47:46 UTC
Created attachment 322906 [details]
patch 1 -- Poll aggressively when handling NFS4ERR_DELAY

Comment 4 Jeff Layton 2008-11-07 22:48:29 UTC
Created attachment 322907 [details]
patch 2 -- credential ref leak in nfs4_get_state_owner

Comment 5 Jeff Layton 2008-11-07 22:49:03 UTC
Created attachment 322908 [details]
patch 3 -- don't reuse expired nfs4_state_owner structs

Comment 6 Jeff Layton 2008-11-07 22:51:30 UTC
Created attachment 322909 [details]
patch 1 -- Poll aggressively when handling NFS4ERR_DELAY

Let's try that again -- had some stgit weirdness...

Comment 7 Jeff Layton 2008-11-07 22:52:11 UTC
Created attachment 322910 [details]
patch 2 -- credential ref leak in nfs4_get_state_owner

Comment 8 Jeff Layton 2008-11-07 22:52:38 UTC
Created attachment 322911 [details]
patch 3 -- don't reuse expired nfs4_state_owner structs

Comment 9 Jeff Layton 2008-11-07 22:53:19 UTC
Jiri, I expect that these will apply pretty cleanly to 5.2. Let me know if they don't...

Comment 10 Jiri Pirko 2008-11-13 15:05:55 UTC
(In reply to comment #9)
> Jiri, I expect that these will apply pretty cleanly to 5.2. Let me know if they
> don't...
Yes, they are. Thanks.

Comment 11 Jiri Pirko 2008-11-21 13:52:04 UTC
in kernel-2.6.18-92.1.20.el5

you can download RPMs from http://people.redhat.com/jpirko/.el52z/92.1.20/

Comment 15 errata-xmlrpc 2008-12-16 07:34:20 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-2008-1017.html