Red Hat Bugzilla – Bug 236875
autofs problem with symbolic links
Last modified: 2007-11-30 17:07:43 EST
Created attachment 152877 [details]
Patch to resolve race between mount and expire
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
This request was evaluated by Red Hat Kernel Team for inclusion in a Red
Hat Enterprise Linux maintenance release, and has moved to bugzilla
Created attachment 161844 [details]
Patch to fix wakeup order of processes when rehashing dentry
I've discovered a problem with the patch for this issue.
It is related to the wakeup order of waiting processes.
Created attachment 173481 [details]
Patch to sync autofs4 with upstream
Due to a problem uncovered during QA of this patch
for a RHEL-4 Z-Stream update I've had to revisit this
There are a couple of patches now that depend on this
patch and there is a risk of some confusion regarding
the various patches. To try and avoid this we should
be able to use the same patches everywhere so we need
to sync the source of the various kernels with upstream.
This patch wasn't needed for this originally but is now
needed by the fix for the problem identified above during
QA and for other bugs that depend on these patches (for
example see bug #253231).
Created attachment 173501 [details]
Patch to fix issue reported during QA
This patch fixes a fail reported during QA testing for
a Z-Stream release for RHEL 4.
It is in fact a hunk from another autofs4 patch that
resolves a deadlock during directory creation under load
(see bug #253231 for info). The deadlock patch delays hashing
of dentrys at directory creation until the actual create
operation and so dentrys remain unhashed for a relatively
long time so the code in this patch was needed their. With
the expire/mount race fix here, dentrys are unhashed for a
relatively brief time so the code in this patch was not
identified as needed during development. However, if there
are many process concurrently accessing directories it's
possible there will be two or more waiters in the queue.
Only one of the waiter will have the dentry required to
complete the lookup and the others need to perform a
d_lookup to get the correct dentry.
This patch allows these processes to perform the needed
a little late but placing in state for fails qa.
You can download this test kernel from http://people.redhat.com/dzickus/el5
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 the 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.