Re: [PATCH 11/21] xfs: fix a few erroneous process_error calls in the scrubbers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Dec 22, 2017 at 04:44:00PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
> 
> There are a few places where we make a libxfs api call on behalf of some
> object other than the one we're scrubbing but inadvertently call the
> regular process_error function.  When this happens we mark the object
> corrupt even though it was corruption in /some other/ object that
> actually produced the -EFSCORRUPTED code.  The correct output flag for
> these situations is SCRUB_OFLAG_XFAIL, not SCRUB_OFLAG_CORRUPT, so fix
> this now that we also have a helper to set these.
> 
> Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>

looks good.

Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>
-- 
Dave Chinner
david@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux