Re: [PATCH 2/2] sysfs: fix race condition around sd->s_dentry, take#2
- From: Eric Sandeen <sandeen@xxxxxxxxxx>
- Date: Mon, 21 May 2007 11:02:59 -0500
Maneesh Soni wrote:
Looks ok to me.. I have tested it it but unfortunately I couldn't
recreate the race without the patch also. It would be helpful if
people actually seeing the race, provide the test results.
Greg, please merge this one once we have some test results.
I merged this back to RHEL4-era (2.6.9) kernels due to a report of this
problem on RHEL4. The tester could hit the sysfs_d_iput bug fairly
easily before, and has not seen it with this patch in place.
The other bug they were seeing even more often was the sysfs_readdir()
oops as we try to extract the inode number for regular sysfs files,
again due to transient vnodes. Is any fix for that problem being
considered for -stable? I had backported a simpler version of Tejun's
s_ino fix for the problem, without the ida complexity - and brought a
couple other small upstream fixes back to support that. If nothing has
yet been proposed for -stable, I can post that here.
Thanks,
-Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- Re: Oops and Panics in 2.6.21.1, 2.6.20.6 and 2.6.19.2
- From: Tejun Heo
- Re: Oops and Panics in 2.6.21.1, 2.6.20.6 and 2.6.19.2
- From: Andrew Morton
- Re: Oops and Panics in 2.6.21.1, 2.6.20.6 and 2.6.19.2
- From: Tejun Heo
- Re: Oops and Panics in 2.6.21.1, 2.6.20.6 and 2.6.19.2
- From: Andrew Morton
- [PATCH -stable] sysfs: disable reclamation by default
- From: Tejun Heo
- Re: [PATCH -stable] sysfs: disable reclamation by default
- From: Greg KH
- Re: [PATCH -stable] sysfs: disable reclamation by default
- From: Maneesh Soni
- Re: [PATCH -stable] sysfs: disable reclamation by default
- From: Tejun Heo
- [PATCH 2/2] sysfs: fix race condition around sd->s_dentry
- From: Tejun Heo
- [PATCH 2/2] sysfs: fix race condition around sd->s_dentry, take#2
- From: Tejun Heo
- Re: [PATCH 2/2] sysfs: fix race condition around sd->s_dentry, take#2
- From: Maneesh Soni
- Re: Oops and Panics in 2.6.21.1, 2.6.20.6 and 2.6.19.2
- Prev by Date: Re: [RFC] enhancing the kernel's graphics subsystem
- Next by Date: Re: Add Seagate STT20000A to DMA blacklist.
- Previous by thread: Re: [PATCH 2/2] sysfs: fix race condition around sd->s_dentry, take#2
- Next by thread: Re: [PATCH 2/2] sysfs: fix race condition around sd->s_dentry, take#2
- Index(es):
Relevant Pages
|
|