Return-Path: Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [150.166.39.100]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q9UHu6WE061164 for ; Tue, 30 Oct 2012 12:56:13 -0500 Date: Mon, 29 Oct 2012 20:26:19 -0700 From: Phil White Subject: Re: [PATCH 14/25] xfs: verify dir2 block format buffers Message-ID: <20121030032619.GQ30227@caliban.engr.sgi.com> References: <1351146854-19343-1-git-send-email-david@fromorbit.com> <1351146854-19343-15-git-send-email-david@fromorbit.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1351146854-19343-15-git-send-email-david@fromorbit.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 Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: xfs@oss.sgi.com On Thu, Oct 25, 2012 at 05:34:03PM +1100, Dave Chinner wrote: > From: Dave Chinner > > Add a dir2 block format read verifier. To fully verify every block > when read, call xfs_dir2_data_check() on them. Change > xfs_dir2_data_check() to do runtime checking, convert ASSERT() > checks to XFS_WANT_CORRUPTED_RETURN(), which will trigger an ASSERT > failure on debug kernels, but on production kernels will dump an > error to dmesg and return EFSCORRUPTED to the caller. > > Signed-off-by: Dave Chinner Solid. Reviewed-by: Phil White _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs