* [Cluster-devel] [PATCH][GFS2] GFS2 - patch to check for recursive lock requests in gfs2_rename code path
@ 2007-11-29 20:13 Abhijith Das
2007-11-30 8:42 ` [Cluster-devel] " Steven Whitehouse
0 siblings, 1 reply; 2+ messages in thread
From: Abhijith Das @ 2007-11-29 20:13 UTC (permalink / raw)
To: cluster-devel.redhat.com
A certain scenario in the rename code path triggers a kernel BUG()
because it accidentally does recursive locking The first lock is
requested to unlink an already existing inode (replacing a file) and the
second lock is requested when the destination directory needs to alloc
some space. It is rare that these two
events happen during the same rename call, and even more rare that these
two instances try to lock the same rgrp. It is, however, possible.
https://bugzilla.redhat.com/show_bug.cgi?id=404711
Signed-off-by: Abhijith Das <adas@redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bz404711-git.patch
Type: text/x-patch
Size: 2092 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20071129/2dabff10/attachment.bin>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Cluster-devel] Re: [PATCH][GFS2] GFS2 - patch to check for recursive lock requests in gfs2_rename code path
2007-11-29 20:13 [Cluster-devel] [PATCH][GFS2] GFS2 - patch to check for recursive lock requests in gfs2_rename code path Abhijith Das
@ 2007-11-30 8:42 ` Steven Whitehouse
0 siblings, 0 replies; 2+ messages in thread
From: Steven Whitehouse @ 2007-11-30 8:42 UTC (permalink / raw)
To: cluster-devel.redhat.com
Hi,
On Thu, 2007-11-29 at 14:13 -0600, Abhijith Das wrote:
> A certain scenario in the rename code path triggers a kernel BUG()
> because it accidentally does recursive locking The first lock is
> requested to unlink an already existing inode (replacing a file) and the
> second lock is requested when the destination directory needs to alloc
> some space. It is rare that these two
> events happen during the same rename call, and even more rare that these
> two instances try to lock the same rgrp. It is, however, possible.
> https://bugzilla.redhat.com/show_bug.cgi?id=404711
>
> Signed-off-by: Abhijith Das <adas@redhat.com>
Applied to the -nmw git tree. Thanks,
Steve.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-30 8:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-29 20:13 [Cluster-devel] [PATCH][GFS2] GFS2 - patch to check for recursive lock requests in gfs2_rename code path Abhijith Das
2007-11-30 8:42 ` [Cluster-devel] " Steven Whitehouse
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).