echo "Writing $bytes bytes, offset is $words (direct=$direct)" | _filter_io
echo "Writing $bytes bytes at $location $words (direct=$direct)" >>$seq.full
$XFS_IO_PROG -c "pwrite $offset 512" $flags $SCRATCH_MNT/$seq \
- 2>&1 | _filter_off $offset | _filter_$XFS_IO_PROG | tee -a $seq.full
+ 2>&1 | _filter_off $offset | _filter_xfs_io | tee -a $seq.full
xfs_bmap -v $SCRATCH_MNT/$seq >>$seq.full
echo "Reading $bytes bytes (direct=$direct)" | _filter_io
echo "Reading $bytes bytes at $location (direct=$direct)" >>$seq.full
$XFS_IO_PROG -c "pread $offset $bytes" $flags $SCRATCH_MNT/$seq \
- 2>&1 | _filter_off $offset | _filter_$XFS_IO_PROG | tee -a $seq.full
+ 2>&1 | _filter_off $offset | _filter_xfs_io | tee -a $seq.full
$XFS_IO_PROG -c "pread -v $offset $bytes" $flags $SCRATCH_MNT/$seq >>$seq.full
_supported_fs xfs
_supported_os IRIX Linux
-[ -x $XFS_IO_PROG ] || _notrun "$XFS_IO_PROG executable not found"
+[ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found"
_require_scratch
_scratch_mkfs_xfs | _filter_mkfs 2>$tmp.mkfs