From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (Postfix) with ESMTP id 03AB37F5D for ; Fri, 30 Aug 2013 13:38:55 -0500 (CDT) Date: Fri, 30 Aug 2013 13:38:51 -0500 From: Ben Myers Subject: Re: [PATCH] xfs: fix bad dquot buffer size in log recovery readahead Message-ID: <20130830183851.GF1935@sgi.com> References: <1377573943-25770-1-git-send-email-david@fromorbit.com> <20130827214534.GZ5262@sgi.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130827214534.GZ5262@sgi.com> 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 Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: xfs@oss.sgi.com On Tue, Aug 27, 2013 at 04:45:34PM -0500, Ben Myers wrote: > On Tue, Aug 27, 2013 at 01:25:43PM +1000, Dave Chinner wrote: > > From: Dave Chinner > > > > xfstests xfs/087 fails 100% reliably with this assert: > > > > XFS (vdb): Mounting Filesystem > > XFS (vdb): Starting recovery (logdev: internal) > > XFS: Assertion failed: bp->b_flags & XBF_STALE, file: fs/xfs/xfs_buf.c, line: 548 > > > > while trying to read a dquot buffer in xlog_recover_dquot_ra_pass2(). > > > > The issue is that the buffer length to read that is passed to > > xfs_buf_readahead is in units of filesystem blocks, not disk blocks. > > (i.e. FSB, not daddr). Fix it but putting the correct conversion in > > place. > > > > Signed-off-by: Dave Chinner > > Looks good. > > Reviewed-by: Ben Myers Also applied this one... _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs