Bug 511278
Summary: | /proc/self/exe reports wrong path after fstat on NFSv4 | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Rhu <redhat3> | ||||
Component: | kernel | Assignee: | Jeff Layton <jlayton> | ||||
Status: | CLOSED ERRATA | QA Contact: | Red Hat Kernel QE team <kernel-qe> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.5 | CC: | cward, dzickus, eguan, jlayton, rwheeler, steved, tao | ||||
Target Milestone: | rc | Keywords: | Regression | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-03-30 07:43:18 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: | |||||||
Bug Blocks: | 525215, 526775, 526950, 533192 | ||||||
Attachments: |
|
Description
Rhu
2009-07-14 14:43:22 UTC
As an additional comment, the problem only occurs when mounting as NFSv4. Mouting through a previous version of NFS works fine. Looks like this is probably being done by __d_path(). The "(deleted)" string means that the dentry has been unhashed. nfs4 does do some d_drops in the open codepath so that's probably where this needs to be resolved. This is also fixed in rawhide. Trawling through the changesets to see if anything stands out at me... ...also not a problem in RHEL4. ...and only occurs on RHEL5 on every 2nd run of the reproducer. I believe this is a regression that was probably introduced by the patch for bug 321111. -77.el5 doesn't show this behavior, -79.el5 does. The only NFS patch that went in during that period was the patch for bug 321111. Created attachment 358236 [details]
patch -- fix regression in nfs_open_revalidate
I think I found the bug. This seems to fix it and a quick run with cthon didn't show any regressions. I'll add it to my test kernels to get it some testing exposure, but I think it's correct.
I've added the above patch to my test kernels here: http://people.redhat.com/jlayton ...could you test it and report back whether it fixes the issue for you (and whether you see any other problems)? Thankyou for your work in fixing this bug. I have tested the test kernel you supplied (kernel-2.6.18-164.el5.jtltest.84.x86_64.rpm) and I can confirm that the problem seems to be gone. No unexpected problems arose, NFSv4 worked as expected, and I was unable to reproduce the problem. This seems to fix the problem with no other side affects. Many thanks for your time 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. in kernel-2.6.18-168.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5 Please do NOT transition this bugzilla state to VERIFIED until our QE team has sent specific instructions indicating when to do so. However feel free to provide a comment indicating that this fix has been verified. ~~ Attention Customers and Partners - RHEL 5.5 Beta is now available on RHN ~~ RHEL 5.5 Beta has been released! There should be a fix present in this release that addresses your request. Please test and report back results here, by March 3rd 2010 (2010-03-03) or sooner. Upon successful verification of this request, post your results and update the Verified field in Bugzilla with the appropriate value. If you encounter any issues while testing, please describe them and set this bug into NEED_INFO. If you encounter new defects or have additional patch(es) to request for inclusion, please clone this bug per each request and escalate through your support representative. 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-2010-0178.html |