[patch 2/2 V2] xfstests: xfs_tosspages() test addition
Andrew Dahl
adahl at sgi.com
Wed Nov 14 12:35:26 CST 2012
On 11/14/2012 12:00 PM, Mark Tinguely wrote:
> On 11/12/12 19:13, Andrew Dahl wrote:
>>
>> Tests the XFS_IOC_ZERO_RANGE ioctl by way of the "xfs_io zero" utility
>> to ensure it is tossing the expected ranges.
>>
>> The ranges tested are [0,1] [0,4095] [0,4096] [0,4097] [4095,8191]
>> [4095,8192] [4095,8193] [4096,8192] [1024,4096]
>>
>> Signed-off-by: Andrew Dahl<adahl at sgi.com>
>>
>> ---
>>
>
> ...
>
>
>> +
>> + $XFS_IO_PROG -F -f -t -c "pwrite -S 0x41 0 4096" \
>
> -F is deprecated in xfs_io.
>
> Looks good.
>
> Reviewed-by: Mark Tinguely <tinguely at sgi.com>
Actually... I just realized I neglected to add one change in there. The
call to _require_xfs_io_zero doesn't exist, but should in common.rc
I'll repost the patch with this included.
More information about the xfs
mailing list