From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Whitehouse Date: Fri, 30 Nov 2007 08:42:33 +0000 Subject: [Cluster-devel] Re: [PATCH][GFS2] GFS2 - patch to check for recursive lock requests in gfs2_rename code path In-Reply-To: <474F1D82.4040404@redhat.com> References: <474F1D82.4040404@redhat.com> Message-ID: <1196412153.1068.914.camel@quoit> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 Applied to the -nmw git tree. Thanks, Steve.