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 q9UHu6WK061164 for ; Tue, 30 Oct 2012 12:56:16 -0500 Date: Mon, 29 Oct 2012 18:36:54 -0700 From: Phil White Subject: Re: [PATCH 11/25] xfs: verify dquot blocks as they are read from disk Message-ID: <20121030013653.GN30227@caliban.engr.sgi.com> References: <1351146854-19343-1-git-send-email-david@fromorbit.com> <1351146854-19343-12-git-send-email-david@fromorbit.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1351146854-19343-12-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:00PM +1100, Dave Chinner wrote: > From: Dave Chinner > > Add a dquot buffer verify callback function and pass it into the > buffer read functions. This checks all the dquots in a buffer, but > cannot completely verify the dquot ids are correct. Also, errors > cannot be repaired, so an additional function is added to repair bad > dquots in the buffer if such an error is detected in a context where > repair is allowed. > > Signed-off-by: Dave Chinner Looks good. Reviewed-by: Phil White _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs