search for: xfs_io_prog

Displaying 7 results from an estimated 7 matches for "xfs_io_prog".

2013 Nov 15
7
[PATCH 1/2] xfstests: add generic/321 to test fsync() on directories V2
...equire_dm_flakey + +rm -f $seqres.full + +_clean_working_dir() +{ + _mount_flakey + rm -rf $SCRATCH_MNT/* + _unmount_flakey +} + +# Btrfs wasn''t making sure the directory survived fsync +_directory_test() +{ + echo "fsync new directory" + _mount_flakey + mkdir $SCRATCH_MNT/bar + $XFS_IO_PROG -c "fsync" $SCRATCH_MNT/bar + _load_flakey_table $FLAKEY_DROP_WRITES + _unmount_flakey + + _load_flakey_table $FLAKEY_ALLOW_WRITES + _mount_flakey + _ls_l $SCRATCH_MNT | tail -n +2 | awk ''{ print $1, $9 }'' + _unmount_flakey + _check_scratch_fs $FLAKEY_DEV + [ $? -ne 0 ]...
2013 Jul 01
1
[PATCH v2] xfstests: btrfs/316: cross-subvolume sparse copy
...dir $TESTDIR1 +mkdir $TESTDIR2 +btrfs subvolume create $SUBVOL1 >> $seqres.full +btrfs subvolume create $SUBVOL2 >> $seqres.full +_mount -t btrfs -o subvol=subvol-$seq-1 $TEST_DEV $SCRATCH_MNT + +echo "Create initial files" +# TESTDIR1/file1 is very small and will be inlined +$XFS_IO_PROG -f -c ''pwrite -S 0x61 0 10'' $TESTDIR1/file1 >> $seqres.full +$XFS_IO_PROG -f -c ''pwrite -S 0x62 0 13000'' $SCRATCH_MNT/file2 >> $seqres.full +$XFS_IO_PROG -f -c ''pwrite -S 0x63 0 17000'' $SUBVOL2/file3 >> $seqres.full + +echo &q...
2013 Oct 28
0
[PATCH] xfstests: add generic/320 to test fsync() on directories V2
...equire_dm_flakey + +rm -f $seqres.full + +_clean_working_dir() +{ + _mount_flakey + rm -rf $SCRATCH_MNT/* + _unmount_flakey +} + +# Btrfs wasn''t making sure the directory survived fsync +_directory_test() +{ + echo "fsync new directory" + _mount_flakey + mkdir $SCRATCH_MNT/bar + $XFS_IO_PROG -c "fsync" $SCRATCH_MNT/bar + _load_flakey_table $FLAKEY_DROP_WRITES + _unmount_flakey + + _load_flakey_table $FLAKEY_ALLOW_WRITES + _mount_flakey + _ls_l $SCRATCH_MNT | tail -n +2 | awk ''{ print $1, $9 }'' + _unmount_flakey + _check_scratch_fs $FLAKEY_DEV + [ $? -ne 0 ]...
2013 Jul 02
6
[PATCH v3] xfstests: btrfs/316: cross-subvolume sparse copy
...dir $TESTDIR1 +mkdir $TESTDIR2 +btrfs subvolume create $SUBVOL1 >> $seqres.full +btrfs subvolume create $SUBVOL2 >> $seqres.full +_mount -t btrfs -o subvol=subvol-$seq-1 $TEST_DEV $SCRATCH_MNT + +echo "Create initial files" +# TESTDIR1/file1 is very small and will be inlined +$XFS_IO_PROG -f -c ''pwrite -S 0x61 0 10'' $TESTDIR1/file1 >> $seqres.full +$XFS_IO_PROG -f -c ''pwrite -S 0x62 0 13000'' $SCRATCH_MNT/file2 >> $seqres.full +$XFS_IO_PROG -f -c ''pwrite -S 0x63 0 17000'' $SUBVOL2/file3 >> $seqres.full + +echo &qu...
2023 Apr 21
1
[PATCH] ocfs2: fix missing reset j_num_trans for sync
...use 266 to describe the root cause. ``` 49 _dmerror_unmount 50 _dmerror_mount 51 52 echo "Compare files" 53 md5sum $testdir/file1 | _filter_scratch 54 md5sum $testdir/file2 | _filter_scratch 55 56 echo "CoW and unmount" 57 sync 58 _dmerror_load_error_table 59 urk=$($XFS_IO_PROG -f -c "pwrite -S 0x63 -b $bufsize 0 $filesize" \ 60 -c "fdatasync" $testdir/file2 2>&1) 61 echo $urk >> $seqres.full 62 echo "$urk" | grep -q "error" || _fail "pwrite did not fail" 63 64 echo "Clean up the mess" 65 _...
2023 Apr 22
1
[PATCH] ocfs2: fix missing reset j_num_trans for sync
...nt > 50 _dmerror_mount > 51 > 52 echo "Compare files" > 53 md5sum $testdir/file1 | _filter_scratch > 54 md5sum $testdir/file2 | _filter_scratch > 55 > 56 echo "CoW and unmount" > 57 sync > 58 _dmerror_load_error_table > 59 urk=$($XFS_IO_PROG -f -c "pwrite -S 0x63 -b $bufsize 0 $filesize" \ > 60 -c "fdatasync" $testdir/file2 2>&1) > 61 echo $urk >> $seqres.full > 62 echo "$urk" | grep -q "error" || _fail "pwrite did not fail" > 63 > 64 echo &quot...
2023 Apr 30
2
[PATCH 1/2] ocfs2: fix missing reset j_num_trans for sync
...use 266 to describe the root cause. ``` 49 _dmerror_unmount 50 _dmerror_mount 51 52 echo "Compare files" 53 md5sum $testdir/file1 | _filter_scratch 54 md5sum $testdir/file2 | _filter_scratch 55 56 echo "CoW and unmount" 57 sync 58 _dmerror_load_error_table 59 urk=$($XFS_IO_PROG -f -c "pwrite -S 0x63 -b $bufsize 0 $filesize" \ 60 -c "fdatasync" $testdir/file2 2>&1) 61 echo $urk >> $seqres.full 62 echo "$urk" | grep -q "error" || _fail "pwrite did not fail" 63 64 echo "Clean up the mess" 65 _...