mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
fix filter name - got to carried away with search and replace
for XFS_IO_PROG. Merge of master-melb:xfs-cmds:22793a by kenmcd. fix filter name - got to carried away with search and replace for XFS_IO_PROG.
This commit is contained in:
@@ -86,13 +86,13 @@ write_block()
|
|||||||
echo "Writing $bytes bytes, offset is $words (direct=$direct)" | _filter_io
|
echo "Writing $bytes bytes, offset is $words (direct=$direct)" | _filter_io
|
||||||
echo "Writing $bytes bytes at $location $words (direct=$direct)" >>$seq.full
|
echo "Writing $bytes bytes at $location $words (direct=$direct)" >>$seq.full
|
||||||
$XFS_IO_PROG -c "pwrite $offset 512" $flags $SCRATCH_MNT/$seq \
|
$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
|
xfs_bmap -v $SCRATCH_MNT/$seq >>$seq.full
|
||||||
|
|
||||||
echo "Reading $bytes bytes (direct=$direct)" | _filter_io
|
echo "Reading $bytes bytes (direct=$direct)" | _filter_io
|
||||||
echo "Reading $bytes bytes at $location (direct=$direct)" >>$seq.full
|
echo "Reading $bytes bytes at $location (direct=$direct)" >>$seq.full
|
||||||
$XFS_IO_PROG -c "pread $offset $bytes" $flags $SCRATCH_MNT/$seq \
|
$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
|
$XFS_IO_PROG -c "pread -v $offset $bytes" $flags $SCRATCH_MNT/$seq >>$seq.full
|
||||||
|
|
||||||
@@ -103,7 +103,7 @@ write_block()
|
|||||||
_supported_fs xfs
|
_supported_fs xfs
|
||||||
_supported_os IRIX Linux
|
_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
|
_require_scratch
|
||||||
_scratch_mkfs_xfs | _filter_mkfs 2>$tmp.mkfs
|
_scratch_mkfs_xfs | _filter_mkfs 2>$tmp.mkfs
|
||||||
|
|||||||
Reference in New Issue
Block a user