[PATCH 11/25] xfs: verify dquot blocks as they are read from disk

Phil White pwhite at sgi.com
Mon Oct 29 20:36:54 CDT 2012


On Thu, Oct 25, 2012 at 05:34:00PM +1100, Dave Chinner wrote:
> From: Dave Chinner <dchinner at redhat.com>
> 
> 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 <dchinner at redhat.com>

Looks good.

Reviewed-by: Phil White <pwhite at sgi.com>



More information about the xfs mailing list