From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with ESMTP id n0C3jwoj004217 for ; Sun, 11 Jan 2009 21:45:58 -0600 Date: Mon, 12 Jan 2009 14:45:50 +1100 From: Dave Chinner Subject: Re: [xfs-masters] 2.6.29-rc: kernel BUG at fs/xfs/support/debug.c:108 Message-ID: <20090112034550.GI8071@disturbed> References: <20090110143924.GA25900@infradead.org> <20090110152803.GA7469@infradead.org> <20090110221459.GA8873@orion> <20090111104659.GB8071@disturbed> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Alexander Beregalov Cc: Christoph Hellwig , xfs-masters@oss.sgi.com, kernel-testers@vger.kernel.org, xfs@oss.sgi.com On Mon, Jan 12, 2009 at 03:48:13AM +0300, Alexander Beregalov wrote: > > Hmmmm - this might be getting closer to the source of the bug. > > It's being detecting when reading in the buffer to do a left shift > > now, not during the delete of a record. > > > > I'd suggest that you treat this as the same failure and continue > > the bisect to try to find when no problems show up at all. > > 687b890a184fef263ebb773926e1f4aa69240d01 is the first bad commit. [XFS] implement generic xfs_btree_lshift Make the btree left shift code generic. Based on a patch from David Chinner with lots of changes to follow the original btree implementations more closely. While this loses some of the generic helper routines for inserting/moving/removing records it also solves some of the one off bugs in the original code and makes it easier to verify. > Does it make sense? Yes, a bug in that patch could corrupt the btree in memory which we then trip over later in delrec before it has been written to disk. Thank you for isolating the problem to that commit - it greatly narrows down the amount of code we need to search to find the bug. I'll have a look tonight to see if I can spot the problem. Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs