Re: [PATCH] xfs: don't verify buffers after IO errors

Dave Chinner
2013-02-28T19:34:32Z

On Thu, Feb 28, 2013 at 09:37:50AM -0600, Mark Tinguely wrote:
> On 02/26/13 20:25, Dave Chinner wrote:
> >From: Dave Chinner<dchinner@redhat.com>
> >
> >When we read a buffer, we might get an error from the underlying
> >block device and not the real data. Hence if we get an IO error, we
> >shouldn't run the verifier but instead just pass the IO error
> >straight through.
> >
> >Signed-off-by: Dave Chinner<dchinner@redhat.com>
> >---
>
> Looks good. needs to go into Linux 3.7/8 stable?

It's not a critical fix - it just makes logs noisy and changes the
error from, say, EIO to EFSCORRUPTED. The end result will be the
same, though....

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com