@@ -121,9 +121,6 @@ echo "Reflink two files"
_reflink_range "$testdir1/file1" 0 "$testdir1/file2" 0 $blksz >> "$seqres.full"
_reflink_range "$testdir2/file1" 0 "$testdir2/file2" 0 $blksz >> "$seqres.full"
-echo "Check scratch fs"
-_scratch_unmount
-
# success, all done
status=0
exit
@@ -22,4 +22,3 @@ XFS_IOC_CLONE_RANGE: Invalid argument
Try to reflink an append-only file
XFS_IOC_CLONE_RANGE: Bad file descriptor
Reflink two files
-Check scratch fs
@@ -122,9 +122,6 @@ echo "Dedupe two files"
_dedupe_range "$testdir1/file1" 0 "$testdir1/file2" 0 $blksz >> "$seqres.full"
_dedupe_range "$testdir2/file1" 0 "$testdir2/file2" 0 $blksz >> "$seqres.full"
-echo "Check scratch fs"
-_scratch_unmount
-
# success, all done
status=0
exit
@@ -21,4 +21,3 @@ Try to dedupe to a fifo
dedupe: Invalid argument
Try to dedupe an append-only file
Dedupe two files
-Check scratch fs
@@ -69,10 +69,6 @@ rm -rf "$testdir/file1" &
_pwrite_byte 0x62 0 $((loops * blksz)) "$testdir/file1" >> "$seqres.full"
wait
-echo "Check fs"
-umount "$SCRATCH_MNT"
-
-echo "Done"
# success, all done
status=0
exit
@@ -2,5 +2,3 @@ QA output created by 161
Format and mount
Initialize files
Delete while rewriting
-Check fs
-Done
@@ -85,10 +85,6 @@ echo "Finished dedupeing"
touch "$testdir/finished"
wait
-echo "Check fs"
-umount "$SCRATCH_MNT"
-
-echo "Done"
# success, all done
status=0
exit
@@ -3,5 +3,3 @@ Format and mount
Initialize files
Dedupe and rewrite the file!
Finished dedupeing
-Check fs
-Done
@@ -85,10 +85,6 @@ echo "Finished dedupeing"
touch "$testdir/finished"
wait
-echo "Check fs"
-umount "$SCRATCH_MNT"
-
-echo "Done"
# success, all done
status=0
exit
@@ -3,5 +3,3 @@ Format and mount
Initialize files
Dedupe and rewrite the file!
Finished dedupeing
-Check fs
-Done
@@ -95,10 +95,6 @@ echo "Finished reflinking"
touch "$testdir/finished"
wait
-echo "Check fs"
-umount "$SCRATCH_MNT"
-
-echo "Done"
# success, all done
status=0
exit
@@ -3,5 +3,3 @@ Format and mount
Initialize files
Reflink and reread the files!
Finished reflinking
-Check fs
-Done
@@ -95,10 +95,6 @@ echo "Finished reflinking"
touch "$testdir/finished"
wait
-echo "Check fs"
-umount "$SCRATCH_MNT"
-
-echo "Done"
# success, all done
status=0
exit
@@ -3,5 +3,3 @@ Format and mount
Initialize files
Reflink and dio reread the files!
Finished reflinking
-Check fs
-Done
@@ -82,11 +82,6 @@ done
touch $testdir/finished
wait
-echo "Check for damage"
-_scratch_unmount
-
-echo "Done"
-
# success, all done
status=0
exit
@@ -2,5 +2,3 @@ QA output created by 166
Format and mount
Initialize file
Snapshot a file undergoing directio rewrite
-Check for damage
-Done
@@ -82,11 +82,6 @@ done
touch $testdir/finished
wait
-echo "Check for damage"
-_scratch_unmount
-
-echo "Done"
-
# success, all done
status=0
exit
@@ -2,5 +2,3 @@ QA output created by 167
Format and mount
Initialize file
Snapshot a file undergoing buffered rewrite
-Check for damage
-Done
@@ -86,11 +86,6 @@ done
touch "$testdir/finished"
wait
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
-echo "Done"
-
# success, all done
status=0
exit
@@ -2,5 +2,3 @@ QA output created by 168
Format and mount
Initialize files
Reflink and write the target
-Check for damage
-Done
@@ -86,11 +86,6 @@ done
touch "$testdir/finished"
wait
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
-echo "Done"
-
# success, all done
status=0
exit
@@ -2,5 +2,3 @@ QA output created by 170
Format and mount
Initialize files
Reflink and dio write the target
-Check for damage
-Done
@@ -95,12 +95,6 @@ echo "${out}" | grep -q "No space left on device" || echo "CoW should have faile
echo "${out}" >> "$seqres.full" 2>&1
echo "${out}"
-#filefrag -v $testdir/bigfile
-#filefrag -v $testdir/clonefile
-
-echo "Check scratch fs"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -7,4 +7,3 @@ CoW the big file
pwrite64: No space left on device
Remount and try CoW again
pwrite64: No space left on device
-Check scratch fs
@@ -95,12 +95,6 @@ echo "${out}" | grep -q "No space left on device" || echo "CoW should have faile
echo "${out}" >> "$seqres.full" 2>&1
echo "${out}"
-#filefrag -v $testdir/bigfile
-#filefrag -v $testdir/clonefile
-
-echo "Check scratch fs"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -7,4 +7,3 @@ CoW the big file
pwrite64: No space left on device
Remount and try CoW again
pwrite64: No space left on device
-Check scratch fs
@@ -97,12 +97,6 @@ if [ "$err" -lt 128 ]; then
echo "mmap CoW should have failed with SIGBUS, got SIG$(kill -l $err)"
fi
-#filefrag -v $testdir/bigfile
-#filefrag -v $testdir/clonefile
-
-echo "Check scratch fs"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -5,4 +5,3 @@ Create a big file and reflink it
Allocate the rest of the space
mmap CoW the big file
Remount and try CoW again
-Check scratch fs
@@ -95,12 +95,6 @@ echo "${out}" | grep -q "No space left on device" || echo "CoW should have faile
echo "${out}" >> "$seqres.full" 2>&1
echo "${out}"
-#filefrag -v $testdir/bigfile
-#filefrag -v $testdir/clonefile
-
-echo "Check scratch fs"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -7,4 +7,3 @@ CoW the big file
pwrite64: No space left on device
Remount and try CoW again
pwrite64: No space left on device
-Check scratch fs
@@ -92,9 +92,6 @@ md5sum "$testdir/file2" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -12,4 +12,3 @@ bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-183/file1
b83f9394092e15bdcda585cd8e776dc6 SCRATCH_MNT/test-183/file2
55968a95dfc0120df4e8485576514320 SCRATCH_MNT/test-183/file3
55968a95dfc0120df4e8485576514320 SCRATCH_MNT/test-183/file3.chk
-Check for damage
@@ -92,9 +92,6 @@ md5sum "$testdir/file2" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -12,4 +12,3 @@ bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-185/file1
b83f9394092e15bdcda585cd8e776dc6 SCRATCH_MNT/test-185/file2
55968a95dfc0120df4e8485576514320 SCRATCH_MNT/test-185/file3
55968a95dfc0120df4e8485576514320 SCRATCH_MNT/test-185/file3.chk
-Check for damage
@@ -137,9 +137,6 @@ md5sum "$testdir/file2" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -12,4 +12,3 @@ Compare files
35219c511215d00a857243965ea5ed9c SCRATCH_MNT/test-186/file2
1801718b8daeb8d3ad4900bd9137b3e8 SCRATCH_MNT/test-186/file3
1801718b8daeb8d3ad4900bd9137b3e8 SCRATCH_MNT/test-186/file3.chk
-Check for damage
@@ -137,9 +137,6 @@ md5sum "$testdir/file2" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -12,4 +12,3 @@ Compare files
35219c511215d00a857243965ea5ed9c SCRATCH_MNT/test-187/file2
1801718b8daeb8d3ad4900bd9137b3e8 SCRATCH_MNT/test-187/file3
1801718b8daeb8d3ad4900bd9137b3e8 SCRATCH_MNT/test-187/file3.chk
-Check for damage
@@ -87,9 +87,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-188/file1
09101629908f9bdd5d178e7ce20bb1bb SCRATCH_MNT/test-188/file3
09101629908f9bdd5d178e7ce20bb1bb SCRATCH_MNT/test-188/file3.chk
-Check for damage
@@ -87,9 +87,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-189/file1
09101629908f9bdd5d178e7ce20bb1bb SCRATCH_MNT/test-189/file3
09101629908f9bdd5d178e7ce20bb1bb SCRATCH_MNT/test-189/file3.chk
-Check for damage
@@ -87,9 +87,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-190/file1
09101629908f9bdd5d178e7ce20bb1bb SCRATCH_MNT/test-190/file3
09101629908f9bdd5d178e7ce20bb1bb SCRATCH_MNT/test-190/file3.chk
-Check for damage
@@ -87,9 +87,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-191/file1
09101629908f9bdd5d178e7ce20bb1bb SCRATCH_MNT/test-191/file3
09101629908f9bdd5d178e7ce20bb1bb SCRATCH_MNT/test-191/file3.chk
-Check for damage
@@ -92,9 +92,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-194/file1
55968a95dfc0120df4e8485576514320 SCRATCH_MNT/test-194/file3
55968a95dfc0120df4e8485576514320 SCRATCH_MNT/test-194/file3.chk
-Check for damage
@@ -92,9 +92,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-195/file1
55968a95dfc0120df4e8485576514320 SCRATCH_MNT/test-195/file3
55968a95dfc0120df4e8485576514320 SCRATCH_MNT/test-195/file3.chk
-Check for damage
@@ -87,9 +87,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-196/file1
55968a95dfc0120df4e8485576514320 SCRATCH_MNT/test-196/file3
55968a95dfc0120df4e8485576514320 SCRATCH_MNT/test-196/file3.chk
-Check for damage
@@ -87,9 +87,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-197/file1
55968a95dfc0120df4e8485576514320 SCRATCH_MNT/test-197/file3
55968a95dfc0120df4e8485576514320 SCRATCH_MNT/test-197/file3.chk
-Check for damage
@@ -116,9 +116,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-199/file1
36f6b5317a9a921fc91175390ccf7f69 SCRATCH_MNT/test-199/file3
36f6b5317a9a921fc91175390ccf7f69 SCRATCH_MNT/test-199/file3.chk
-Check for damage
@@ -116,9 +116,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file3" | _filter_scratch
md5sum "$testdir/file3.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-200/file1
36f6b5317a9a921fc91175390ccf7f69 SCRATCH_MNT/test-200/file3
36f6b5317a9a921fc91175390ccf7f69 SCRATCH_MNT/test-200/file3.chk
-Check for damage
@@ -77,9 +77,6 @@ echo "CoW and unmount"
"$XFS_IO_PROG" -f -c "pwrite -S 0x63 -b $((blksz * nr / 2)) $((blksz * nr / 4)) $((blksz * nr / 2))" "$testdir/file3" >> "$seqres.full"
rm "$testdir/file3"
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -6,4 +6,3 @@ bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-201/file1
d3959a68638c50af07f0258e032cb554 SCRATCH_MNT/test-201/file3
d3959a68638c50af07f0258e032cb554 SCRATCH_MNT/test-201/file3.chk
CoW and unmount
-Check for damage
@@ -77,9 +77,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file2" | _filter_scratch
md5sum "$testdir/file2.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
75f550706b7d54e6ae59a8220b532285 SCRATCH_MNT/test-202/file1
7cd112044b63b2c979f45e7c1e7cc85f SCRATCH_MNT/test-202/file2
7cd112044b63b2c979f45e7c1e7cc85f SCRATCH_MNT/test-202/file2.chk
-Check for damage
@@ -77,9 +77,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file2" | _filter_scratch
md5sum "$testdir/file2.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
75f550706b7d54e6ae59a8220b532285 SCRATCH_MNT/test-203/file1
227f44bb2dcf251ebf0217edaeb1e365 SCRATCH_MNT/test-203/file2
227f44bb2dcf251ebf0217edaeb1e365 SCRATCH_MNT/test-203/file2.chk
-Check for damage
@@ -93,9 +93,6 @@ echo "Compare files"
! cmp -s "$testdir/file1" "$testdir/file2" || _fail "file1 and file2 don't match."
cmp -s "$testdir/file2" "$testdir/file2.chk" || _fail "file2 and file2.chk don't match."
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -4,4 +4,3 @@ Create the original files
Compare files
CoW and unmount
Compare files
-Check for damage
@@ -93,9 +93,6 @@ echo "Compare files"
! cmp -s "$testdir/file1" "$testdir/file2" || _fail "file1 and file2 don't match."
cmp -s "$testdir/file2" "$testdir/file2.chk" || _fail "file2 and file2.chk don't match."
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -4,4 +4,3 @@ Create the original files
Compare files
CoW and unmount
Compare files
-Check for damage
@@ -94,9 +94,6 @@ echo "Compare files"
! cmp -s "$testdir/file1" "$testdir/file2" || _fail "file1 and file2 don't match."
cmp -s "$testdir/file2" "$testdir/file2.chk" || _fail "file2 and file2.chk don't match."
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -4,4 +4,3 @@ Create the original files
Compare files
CoW and unmount
Compare files
-Check for damage
@@ -94,9 +94,6 @@ echo "Compare files"
! cmp -s "$testdir/file1" "$testdir/file2" || _fail "file1 and file2 don't match."
cmp -s "$testdir/file2" "$testdir/file2.chk" || _fail "file2 and file2.chk don't match."
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -4,4 +4,3 @@ Create the original files
Compare files
CoW and unmount
Compare files
-Check for damage
@@ -88,9 +88,6 @@ echo "Compare files"
! cmp -s "$testdir/file1" "$testdir/file2" || _fail "file1 and file2 don't match."
cmp -s "$testdir/file2" "$testdir/file2.chk" || _fail "file2 and file2.chk don't match."
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -4,4 +4,3 @@ Create the original files
Compare files
CoW and unmount
Compare files
-Check for damage
@@ -88,9 +88,6 @@ echo "Compare files"
! cmp -s "$testdir/file1" "$testdir/file2" || _fail "file1 and file2 don't match."
cmp -s "$testdir/file2" "$testdir/file2.chk" || _fail "file2 and file2.chk don't match."
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -4,4 +4,3 @@ Create the original files
Compare files
CoW and unmount
Compare files
-Check for damage
@@ -94,9 +94,6 @@ echo "Compare files"
! cmp -s "$testdir/file1" "$testdir/file2" || _fail "file1 and file2 don't match."
cmp -s "$testdir/file2" "$testdir/file2.chk" || _fail "file2 and file2.chk don't match."
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -4,4 +4,3 @@ Create the original files
Compare files
CoW and unmount
Compare files
-Check for damage
@@ -94,9 +94,6 @@ echo "Compare files"
! cmp -s "$testdir/file1" "$testdir/file2" || _fail "file1 and file2 don't match."
cmp -s "$testdir/file2" "$testdir/file2.chk" || _fail "file2 and file2.chk don't match."
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -4,4 +4,3 @@ Create the original files
Compare files
CoW and unmount
Compare files
-Check for damage
@@ -154,9 +154,6 @@ runtest delalloc unwritten "$testdir/d-u"
runtest delalloc hole "$testdir/d-h"
runtest delalloc regular "$testdir/d-r"
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -80,4 +80,3 @@ Create the original files
Compare files
CoW and unmount
Compare files
-Check for damage
@@ -154,9 +154,6 @@ runtest delalloc unwritten "$testdir/d-u"
runtest delalloc hole "$testdir/d-h"
runtest delalloc regular "$testdir/d-r"
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -80,4 +80,3 @@ Create the original files
Compare files
CoW and unmount
Compare files
-Check for damage
@@ -90,9 +90,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file2" | _filter_scratch
md5sum "$testdir/file2.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
01768a16d33c9bd21dc67a7fac006ee1 SCRATCH_MNT/test-242/file1
c835fd53fa27b72511b250d51595c053 SCRATCH_MNT/test-242/file2
c835fd53fa27b72511b250d51595c053 SCRATCH_MNT/test-242/file2.chk
-Check for damage
@@ -90,9 +90,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file2" | _filter_scratch
md5sum "$testdir/file2.chk" | _filter_scratch
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -10,4 +10,3 @@ Compare files
01768a16d33c9bd21dc67a7fac006ee1 SCRATCH_MNT/test-243/file1
c835fd53fa27b72511b250d51595c053 SCRATCH_MNT/test-243/file2
c835fd53fa27b72511b250d51595c053 SCRATCH_MNT/test-243/file2.chk
-Check for damage
@@ -70,9 +70,6 @@ _cp_reflink "$testdir/original" "$testdir/copy3"
xfs_info "$SCRATCH_MNT" >> "$seqres.full"
-echo "Check scratch fs"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -3,4 +3,3 @@ Format and mount
Create the original file and reflink to copy1, copy2
Grow fs
Create more reflink copies
-Check scratch fs
@@ -140,9 +140,6 @@ _within_tolerance "free blocks after CoW some reflink copies" $free_blocks2 $((f
_within_tolerance "free blocks after defragging all reflink copies" $free_blocks3 $((free_blocks2 - (blks * 2 * blksz_factor))) $margin -v
_within_tolerance "free blocks after all tests" $free_blocks3 $((free_blocks0 - (blks * 3 * blksz_factor))) $margin -v
-echo "Check scratch fs"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -24,4 +24,3 @@ free blocks after creating some reflink copies is in range
free blocks after CoW some reflink copies is in range
free blocks after defragging all reflink copies is in range
free blocks after all tests is in range
-Check scratch fs
@@ -67,9 +67,6 @@ _cp_reflink "$testdir/file1" "$testdir/file2" 2>&1 | _filter_scratch
test -s "$testdir/file2" && _fail "Should not be able to reflink a realtime file."
-echo "Check restored fs"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -3,4 +3,3 @@ Format and mount scratch device
Create the original file blocks
Reflink every block
cp: failed to clone 'SCRATCH_MNT/test-131/file2' from 'SCRATCH_MNT/test-131/file1': Invalid argument
-Check restored fs
@@ -73,9 +73,6 @@ md5sum "$testdir/file1" | _filter_scratch
md5sum "$testdir/file2" | _filter_scratch
#filefrag -v "$testdir/file1" "$testdir/file2"
-echo "Check scratch fs"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -5,4 +5,3 @@ CoW every other block
Compare files
673c759fb131ccf3336c4f8c549a497e SCRATCH_MNT/test-139/file1
dc802351f6717547cbf4c951b294f952 SCRATCH_MNT/test-139/file2
-Check scratch fs
@@ -80,9 +80,6 @@ echo "Compare files"
! cmp -s "$testdir/file1" "$testdir/file2" || echo "file1 and file2 must not match"
cmp -s "$testdir/file2" "$testdir/file2.chk" || echo "file2 and file2.chk do not match"
-echo "Check scratch fs"
-umount "$SCRATCH_MNT"
-
# success, all done
status=0
exit
@@ -4,4 +4,3 @@ Create the original files
Compare files
CoW every other block
Compare files
-Check scratch fs
The test harness already takes care of this, so get rid of it. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> --- tests/generic/157 | 3 --- tests/generic/157.out | 1 - tests/generic/158 | 3 --- tests/generic/158.out | 1 - tests/generic/161 | 4 ---- tests/generic/161.out | 2 -- tests/generic/162 | 4 ---- tests/generic/162.out | 2 -- tests/generic/163 | 4 ---- tests/generic/163.out | 2 -- tests/generic/164 | 4 ---- tests/generic/164.out | 2 -- tests/generic/165 | 4 ---- tests/generic/165.out | 2 -- tests/generic/166 | 5 ----- tests/generic/166.out | 2 -- tests/generic/167 | 5 ----- tests/generic/167.out | 2 -- tests/generic/168 | 5 ----- tests/generic/168.out | 2 -- tests/generic/170 | 5 ----- tests/generic/170.out | 2 -- tests/generic/171 | 6 ------ tests/generic/171.out | 1 - tests/generic/172 | 6 ------ tests/generic/172.out | 1 - tests/generic/173 | 6 ------ tests/generic/173.out | 1 - tests/generic/174 | 6 ------ tests/generic/174.out | 1 - tests/generic/183 | 3 --- tests/generic/183.out | 1 - tests/generic/185 | 3 --- tests/generic/185.out | 1 - tests/generic/186 | 3 --- tests/generic/186.out | 1 - tests/generic/187 | 3 --- tests/generic/187.out | 1 - tests/generic/188 | 3 --- tests/generic/188.out | 1 - tests/generic/189 | 3 --- tests/generic/189.out | 1 - tests/generic/190 | 3 --- tests/generic/190.out | 1 - tests/generic/191 | 3 --- tests/generic/191.out | 1 - tests/generic/194 | 3 --- tests/generic/194.out | 1 - tests/generic/195 | 3 --- tests/generic/195.out | 1 - tests/generic/196 | 3 --- tests/generic/196.out | 1 - tests/generic/197 | 3 --- tests/generic/197.out | 1 - tests/generic/199 | 3 --- tests/generic/199.out | 1 - tests/generic/200 | 3 --- tests/generic/200.out | 1 - tests/generic/201 | 3 --- tests/generic/201.out | 1 - tests/generic/202 | 3 --- tests/generic/202.out | 1 - tests/generic/203 | 3 --- tests/generic/203.out | 1 - tests/generic/205 | 3 --- tests/generic/205.out | 1 - tests/generic/206 | 3 --- tests/generic/206.out | 1 - tests/generic/216 | 3 --- tests/generic/216.out | 1 - tests/generic/217 | 3 --- tests/generic/217.out | 1 - tests/generic/218 | 3 --- tests/generic/218.out | 1 - tests/generic/220 | 3 --- tests/generic/220.out | 1 - tests/generic/222 | 3 --- tests/generic/222.out | 1 - tests/generic/227 | 3 --- tests/generic/227.out | 1 - tests/generic/229 | 3 --- tests/generic/229.out | 1 - tests/generic/238 | 3 --- tests/generic/238.out | 1 - tests/generic/242 | 3 --- tests/generic/242.out | 1 - tests/generic/243 | 3 --- tests/generic/243.out | 1 - tests/xfs/127 | 3 --- tests/xfs/127.out | 1 - tests/xfs/128 | 3 --- tests/xfs/128.out | 1 - tests/xfs/131 | 3 --- tests/xfs/131.out | 1 - tests/xfs/139 | 3 --- tests/xfs/139.out | 1 - tests/xfs/140 | 3 --- tests/xfs/140.out | 1 - 98 files changed, 230 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html