[PATCH] xfstests/071 FAIL with pwrite64: Invalid argument

Dave Chinner david at fromorbit.com
Tue Dec 6 05:05:33 CST 2011


On Tue, Dec 06, 2011 at 11:42:14AM +0800, Peng Haitao wrote:
> 
> When offset + length is overflow of xfs_io builtin pread and pwrite in linux,
> the error message should be "Invalid argument".

Fixing this just requires an additional filter. The write outpu is
already passed through 2 filters to remove ariable numbers from the
output, so one more to standardise the error isn't a problem.

Further, filtering of the error stream on the reads to only appear
in $seq.full solves the extra error output on reads as well.

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list