]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
reflink: remove unnecessary umounts from test code
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 10 Feb 2016 00:44:06 +0000 (16:44 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 12 Feb 2016 17:39:04 +0000 (09:39 -0800)
The test harness already takes care of this, so get rid of it.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
98 files changed:
tests/generic/157
tests/generic/157.out
tests/generic/158
tests/generic/158.out
tests/generic/161
tests/generic/161.out
tests/generic/162
tests/generic/162.out
tests/generic/163
tests/generic/163.out
tests/generic/164
tests/generic/164.out
tests/generic/165
tests/generic/165.out
tests/generic/166
tests/generic/166.out
tests/generic/167
tests/generic/167.out
tests/generic/168
tests/generic/168.out
tests/generic/170
tests/generic/170.out
tests/generic/171
tests/generic/171.out
tests/generic/172
tests/generic/172.out
tests/generic/173
tests/generic/173.out
tests/generic/174
tests/generic/174.out
tests/generic/183
tests/generic/183.out
tests/generic/185
tests/generic/185.out
tests/generic/186
tests/generic/186.out
tests/generic/187
tests/generic/187.out
tests/generic/188
tests/generic/188.out
tests/generic/189
tests/generic/189.out
tests/generic/190
tests/generic/190.out
tests/generic/191
tests/generic/191.out
tests/generic/194
tests/generic/194.out
tests/generic/195
tests/generic/195.out
tests/generic/196
tests/generic/196.out
tests/generic/197
tests/generic/197.out
tests/generic/199
tests/generic/199.out
tests/generic/200
tests/generic/200.out
tests/generic/201
tests/generic/201.out
tests/generic/202
tests/generic/202.out
tests/generic/203
tests/generic/203.out
tests/generic/205
tests/generic/205.out
tests/generic/206
tests/generic/206.out
tests/generic/216
tests/generic/216.out
tests/generic/217
tests/generic/217.out
tests/generic/218
tests/generic/218.out
tests/generic/220
tests/generic/220.out
tests/generic/222
tests/generic/222.out
tests/generic/227
tests/generic/227.out
tests/generic/229
tests/generic/229.out
tests/generic/238
tests/generic/238.out
tests/generic/242
tests/generic/242.out
tests/generic/243
tests/generic/243.out
tests/xfs/127
tests/xfs/127.out
tests/xfs/128
tests/xfs/128.out
tests/xfs/131
tests/xfs/131.out
tests/xfs/139
tests/xfs/139.out
tests/xfs/140
tests/xfs/140.out

index 74314d8851077099a1ff9a97ba8a94360ac4db65..19a9a189b0ead903951030ef414a6a7f0cf41b3e 100755 (executable)
@@ -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
index ac3c4406cab1b5b10c63de17568f8a166d0ecbcf..d4f64b443621f1f9a30c3e038482db772a3b20a2 100644 (file)
@@ -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
index 779d55eaca785b1eb8f1e561f9a218ea5d889aaa..4b51973cf6d98740768ab9986ec3e8efd27076d0 100755 (executable)
@@ -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
index dff369256ee17c9899c0f38b1d8bb66f037d3789..7f884034d51a94ce4e6352d926f2c024eef99979 100644 (file)
@@ -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
index b271936ab9f1a89685bfe99e4f67dc740a3e3aea..1d5364e349ac43e787db3e6891fa53e7b43fe87f 100755 (executable)
@@ -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
index 1db11c30cac34bba029e4d7d6107016a96c9aff8..34cb6f2cd24bbb996034e59a448d71d1458cab3b 100644 (file)
@@ -2,5 +2,3 @@ QA output created by 161
 Format and mount
 Initialize files
 Delete while rewriting
-Check fs
-Done
index 30c761be9960fbeb4158a05bd3f0a99116201de2..90445451a7bcbf83ae615d1e733916bac3b0fd20 100755 (executable)
@@ -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
index 4481f8cdbca22e6b4fafc88289957bd8dbc707fc..e57db1231e9cc213b265e39069e7877ef11266bd 100644 (file)
@@ -3,5 +3,3 @@ Format and mount
 Initialize files
 Dedupe and rewrite the file!
 Finished dedupeing
-Check fs
-Done
index f2ea3341dd1a2af730155150143c8a70bbf85f1b..651d4457df57c96cd9d0beee08cfb15b5c97859b 100755 (executable)
@@ -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
index 2d27d1bf3bf869b44c5a40ad5945501b23782893..604e53ba09d99f1ca15be4ffbca16ef7ba5b1b28 100644 (file)
@@ -3,5 +3,3 @@ Format and mount
 Initialize files
 Dedupe and rewrite the file!
 Finished dedupeing
-Check fs
-Done
index e97ac131640ad7a5f443094850d04212196df56e..6c19c7d8b3ac48dab42bb6f5572a25da3dfb013d 100755 (executable)
@@ -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
index 0b4ed70aa7498683d8eb6f3e048b1c8bec26bac7..f4ff869649a59bc9ce92fc9e4dcb38e4c8ea4298 100644 (file)
@@ -3,5 +3,3 @@ Format and mount
 Initialize files
 Reflink and reread the files!
 Finished reflinking
-Check fs
-Done
index b30507957700bedb87714548a878d8d05717879b..2e380a90a9709b2327bbe7d466790c995348f10b 100755 (executable)
@@ -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
index a89071d19c00fef5ccb5a605d9b0f135f7262cf0..31e9bef5df1c61511324b441b46d045badfc1f0d 100644 (file)
@@ -3,5 +3,3 @@ Format and mount
 Initialize files
 Reflink and dio reread the files!
 Finished reflinking
-Check fs
-Done
index 2c2ff4ecfaf7d45100b582136c3fc5ba306c484b..028ee111d3679e845a6f4d4a9d976b5ca3646c72 100755 (executable)
@@ -82,11 +82,6 @@ done
 touch $testdir/finished
 wait
 
-echo "Check for damage"
-_scratch_unmount
-
-echo "Done"
-
 # success, all done
 status=0
 exit
index a2ba34e25fbce52b88f22e9b89cf70e41da3bfff..8cb81a00883f05bd1554c3d63b03f8bf7a263cc2 100644 (file)
@@ -2,5 +2,3 @@ QA output created by 166
 Format and mount
 Initialize file
 Snapshot a file undergoing directio rewrite
-Check for damage
-Done
index b80b4814458cca019b29ea107d627f44a4abf6a3..a4bf4f4c7defd05712e014325e4ca4175e32ea5d 100755 (executable)
@@ -82,11 +82,6 @@ done
 touch $testdir/finished
 wait
 
-echo "Check for damage"
-_scratch_unmount
-
-echo "Done"
-
 # success, all done
 status=0
 exit
index 7cfb14e5a2c3161db5463c9b86063e3735301713..a0e90b1696190b94c0c7103a94c3d61fe7f17c19 100644 (file)
@@ -2,5 +2,3 @@ QA output created by 167
 Format and mount
 Initialize file
 Snapshot a file undergoing buffered rewrite
-Check for damage
-Done
index 0d620da7f4f9926bcc1a73c2e069d4b35997981c..2ffc5b67a4a340cb04967d9c59cf5738ba0f295e 100755 (executable)
@@ -86,11 +86,6 @@ done
 touch "$testdir/finished"
 wait
 
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
-echo "Done"
-
 # success, all done
 status=0
 exit
index d0dd08edd2cc595762d02123bd714697f699b68b..2687e7c245ca1ea0f665f0abfd28e26209586df2 100644 (file)
@@ -2,5 +2,3 @@ QA output created by 168
 Format and mount
 Initialize files
 Reflink and write the target
-Check for damage
-Done
index 78ed63d8d04e0d1f9d07744ff823c10f3dc523bf..2a81caddf886aee570e4e3dbb514e2f04b795047 100755 (executable)
@@ -86,11 +86,6 @@ done
 touch "$testdir/finished"
 wait
 
-echo "Check for damage"
-umount "$SCRATCH_MNT"
-
-echo "Done"
-
 # success, all done
 status=0
 exit
index 103aaa55bc0ed61c9f68979ea7e30beaf0500a66..debd6ca0b6f5c3580817173a289090ba7469e344 100644 (file)
@@ -2,5 +2,3 @@ QA output created by 170
 Format and mount
 Initialize files
 Reflink and dio write the target
-Check for damage
-Done
index 4b4f1414635c941c562ffb848fa572a76f3d7136..d865f64f5c9e90e64d93911eec7b1a4bf96c0d70 100755 (executable)
@@ -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
index c2b0dddcccc67cc6c557125b8545cebc4341a593..a999eb009e3d02493228182497b6df1478cdde49 100644 (file)
@@ -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
index 98eb97ff492095752e7db6a0f3ac424f3a74bad7..e6020f15dc8f5b4461a1a0db1023ab25588e8e53 100755 (executable)
@@ -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
index 3913dd7e1c950b9d3c493ae0e70dc5eb4fcc5924..4d3f710b8fe348aa0d4d6dc8360104d22d2e4543 100644 (file)
@@ -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
index e26f5a974be608ed83aab28c67293ba295869def..61c6b3264c021fdc80cd83ea1e07e32a38503e1c 100755 (executable)
@@ -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
index 49abb17aa40fc0e67bb9fa137f524a9b5c63e062..5235548e731a96a07722f3cfff491e8c48f9c90f 100644 (file)
@@ -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
index 1749a1c6f1bbdb5f9eafd826b9f7010eb0de11ee..dd6fe5ae19efbec2b17150e6ca717e205d1741a5 100755 (executable)
@@ -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
index 702d06758042616fecb9263e559844e5f025b4b7..1490ca4d0487873e7885440fe954dd0cb9b60081 100644 (file)
@@ -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
index 27179fd9e7f7ff10aab627422f32224546f1a638..c928acd7a56e139a4ba5dbfbe847bb2de91abfaf 100755 (executable)
@@ -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
index e5d032254b5789f6bb372e045a1eb2c70d609fe6..b777908d6d85ce2eb17c246849ed55101a2feec1 100644 (file)
@@ -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
index 368260d892dfafe8103e6a86de3c2ec3b310c8a4..fb05e6d7356c063aee6534256accbecce2ed5eb8 100755 (executable)
@@ -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
index e505c901c5886255d5d50e680bd1358c906b0624..4d1839a3e6d45faff42040f59ef67e20b0c5e2f2 100644 (file)
@@ -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
index 67e52b5db3eef3b814a0488e31d6bd0c358289e1..e495cbcba23262fc544d9cff477785a9670efcfb 100755 (executable)
@@ -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
index adfae9c9eb3c5411f8d0ccc4861d22111a1ce10a..961673a85406ea6a4e2a631058c34933ca2f21af 100644 (file)
@@ -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
index c9933943f9225ec0b988beb9e228139b8722a07e..e3461ab45b500fb9f4034810b39638f1628bcf58 100755 (executable)
@@ -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
index a3c05a5a55ee91eb99e1602b5a08a71f3796c3dc..8ad56f8a87160521bc2cb122f31f1d167c3eb099 100644 (file)
@@ -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
index 9e633887c1b2c6ddae7649bc35211457095eafdd..7596c4b904b68dd9af669e996941e3740b7a522c 100755 (executable)
@@ -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
index 135e69ccba89500e884bc04d450a5333a1954449..904f3835111224f4f493a057316e624dc102f3b8 100644 (file)
@@ -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
index 661129c2e02bbcfa90d2286621848fef8d34efa9..130dc58aa17ccfc5b9c2a97a941859c1a1dbcbce 100755 (executable)
@@ -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
index ce868bd346b04105c0a1643265a6867f29edcc7c..feff6059a15693944a7fa92726343e663fd53ef2 100644 (file)
@@ -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
index 4e272c2606916077851e1e2477486118496e2291..0171475358d19bf14f4a704117c381a59ec5e6c5 100755 (executable)
@@ -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
index abe5d89a227e56e9dd8b07ceed7f1df0fc147486..ad8ecb063bf3dba833eb56eeaa54b0c824cbf61d 100644 (file)
@@ -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
index 5aadded86c20b1f5973543f1e2be777bd74b9bbc..34d96f958220d6e6cd2057e555e03f27a97a0e01 100755 (executable)
@@ -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
index 8116eab39e2e76c497d0f77723af811605849b2d..1b5e1758ebc63d721a8f5dff7a623283208c981e 100644 (file)
@@ -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
index a17debc0448535336d37b9e7b37ba92745a4a051..e9feaadf7c553f3ca9a7da2cb0618daac789c179 100755 (executable)
@@ -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
index fdfda231c64065d658c9a2ce0b463a982cde17a4..d370b4cda148029aefd22a161c7c811b8ebbf8d0 100644 (file)
@@ -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
index f49d0c2443891ea4ee2a434953906f5a45ab0adf..32548baa09464dc6fd29c82d0c1ce65f434fc702 100755 (executable)
@@ -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
index 94950587ad378d60172da5d2baa9345d42242bd9..8a6d760b3cfc37a8e943ab5ac2cb6df6fe1caf68 100644 (file)
@@ -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
index 4da9c76dea88a6b05ca6b655eb6cbd36bde893ce..4ec2cffbe1ad978c1454b278cc2e8b573857cfb8 100755 (executable)
@@ -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
index 6ee052bd33925177ef1eb56ff85af3a5821b37f7..545b72bb5aad561dfc2d820b341845eb126fc66c 100644 (file)
@@ -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
index 54ee5ab25980f2b37a15864d5281354329f4826b..356a587ba12da3cba6dfe5c6667157c4e72db4ad 100755 (executable)
@@ -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
index bec294b99118b22414609bdad69e21ce9ceddb8e..05edad9032b48f841c10821ff39e732add2036e0 100644 (file)
@@ -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
index 5e4bca8bf71652395f4d616a331663174a869d46..03b8fdada6b255c4725308080b117cb2ca25dedc 100755 (executable)
@@ -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
index 752742db1a7b5fc0303063ff2736f282e445c3bd..b35c135fee2399d8f6e8c7f53596a89a56fa4c99 100644 (file)
@@ -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
index f0521ae6b2ba9dde21a15ccf9c1807177ff08ae1..e71eedcc674b9f9909e760313b6cb103d4021db8 100755 (executable)
@@ -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
index e4ab7e0adab294e127618b0e28287460cf2b95c2..140eff907fe03b31cb440a0e3398aabd7b83d983 100644 (file)
@@ -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
index db77a5e9121bddd03b54db4d67108e1947895fdd..90087ef2e6330f1cd8a5476fa24fe2c2300a2b37 100755 (executable)
@@ -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
index 80629b671c17904c7a2e81c56b7d8a4aaf0af979..52669d274712e6ea74ce79e29b85274bae9a62cf 100644 (file)
@@ -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
index 91f2d9b15f8a0b881e1e2d43e5b9a309404fea49..e034e4e897345e73a4e629e25cb3b9486a4729d3 100755 (executable)
@@ -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
index 8973abec9a023b84c7ec8952cd508facc1371b25..2dbd4b046b55ba7bb5ef16e4de2819fb3249a361 100644 (file)
@@ -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
index 86a672b4943788ed701763c61800e3a6fd167e67..2b6db7e1215c6f01da20cdfa67e179f9ccedad5a 100755 (executable)
@@ -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
index 84ac0e87c84d30791b3c9d6608ff81f651d9f579..ddde511e9d451dd1494340f5d4eb7b3fae4e4573 100644 (file)
@@ -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
index 8fed95527fd97e299bdbfe331d1c07abd2c65d39..8955e677fd2f251d8382f2eb655a0e4f7fe018ed 100755 (executable)
@@ -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
index 1a225156e77e2cbb5c5d504fa7738c8a610458c5..c65d1bdc89653cd598cfce117bfeb5e28b450016 100644 (file)
@@ -4,4 +4,3 @@ Create the original files
 Compare files
 CoW and unmount
 Compare files
-Check for damage
index 10b5285d4e7948c1fcc50cc8afff9afc6926b8a1..12ad7455e25ea5de23aa818be35cb72e92f64f1f 100755 (executable)
@@ -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
index 0b1ec6089d97d6ef4d7199b0116bbe3f2bb0d98d..38c7b09d978e96d928685c1eacbea59fd00aa180 100644 (file)
@@ -4,4 +4,3 @@ Create the original files
 Compare files
 CoW and unmount
 Compare files
-Check for damage
index 671f0c16e7727ddae21b3f4908921294f208198c..3e0084e5aa6674909dd41a00957353d10db93a45 100755 (executable)
@@ -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
index 2d43c3a2ae254f48148a8dff045d5cb6f46a2606..85db001b0439a828ca203537cf39dbcd73173a03 100644 (file)
@@ -4,4 +4,3 @@ Create the original files
 Compare files
 CoW and unmount
 Compare files
-Check for damage
index e4d40c739b5b37922aac1d2dadc92976ea61dd48..3470d257ab6348304d65ea741237702d7860265b 100755 (executable)
@@ -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
index d8eb1bea3ae7d54b1bdcf3a6dcd05487b5af2a64..bf8bb4f677ef447a586731611de1617eb01f9e51 100644 (file)
@@ -4,4 +4,3 @@ Create the original files
 Compare files
 CoW and unmount
 Compare files
-Check for damage
index eb52fea8a15c67869f686a8b90d0124705cf1f29..220cda31ebd50c04b05b8062c5cf1ba5332c414f 100755 (executable)
@@ -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
index 0173be0a3fde0f8897a86c928a3c6eed72aa6844..014274780a921a1b8f7516af0c998c447a5ce730 100644 (file)
@@ -4,4 +4,3 @@ Create the original files
 Compare files
 CoW and unmount
 Compare files
-Check for damage
index fb5ecdae1b9b4c49bfd154553daa74a705ada585..151bf765d54076d5ebbd9aa2f1145b897d6fbfd0 100755 (executable)
@@ -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
index 9dcb9d67993b6ecacee7f0df234a871181a472dc..a7123e1017947f0e664c7640f1d59de010babc97 100644 (file)
@@ -4,4 +4,3 @@ Create the original files
 Compare files
 CoW and unmount
 Compare files
-Check for damage
index ab3f65f8ce5082e54bf9fd6aee622c04a909c24d..c95a1d6ffce2e83f064a26a36cc90ef2bec17eab 100755 (executable)
@@ -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
index 47bad1073612e48a914ebc4357f04cbf29c9a763..895b3a14309cfc78361bfa52e04db3169be6f969 100644 (file)
@@ -4,4 +4,3 @@ Create the original files
 Compare files
 CoW and unmount
 Compare files
-Check for damage
index 387c7140b4f7749add4e393a05adde7d924fb3d6..d62ab52f9efee0101cf621641b470625ee39ddd1 100755 (executable)
@@ -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
index 69cb88f04f001aecd0f484619cd3c036812248c3..bed3e48414d03a5f5ed539d5fa5f87da64aeab7e 100644 (file)
@@ -4,4 +4,3 @@ Create the original files
 Compare files
 CoW and unmount
 Compare files
-Check for damage
index eb105a328276474e0d02a8ab5cf4613817da0ce3..cc86b4e7419a307eb3af96adc11ba4c422052e06 100755 (executable)
@@ -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
index 07750acea16ff4e16059c0950abd24c83b291819..4955ecdc1115bddf3a3277181f454c1170154d5e 100644 (file)
@@ -80,4 +80,3 @@ Create the original files
 Compare files
 CoW and unmount
 Compare files
-Check for damage
index 02057ad8d0d95f91854e1251caa8a34e549fb45e..c726770b7017979574bb8cae72d6a79c36006d60 100755 (executable)
@@ -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
index dcfcc8e15386691d485c2ed81bcb05e1e566c46d..5f97fb14974d715635d8d64eddddbc8f89106825 100644 (file)
@@ -80,4 +80,3 @@ Create the original files
 Compare files
 CoW and unmount
 Compare files
-Check for damage
index 3023ac7d3c2ef5d60d6d0999bf74d5a1b04cb111..1141aa472004d1c28fd53f9c6e9ceb5a70675119 100755 (executable)
@@ -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
index ef9a5746110a7f1461d5f3f58d0020c93ebe78fb..34dac8b6e48936afcbe5b57424d5c103bd065e98 100644 (file)
@@ -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
index e65347f6813d615649d107176df18b9d725533f6..a5145915294f9c0eca435101c92d2b326e496618 100755 (executable)
@@ -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
index 8e13fabd7e3ce970f6e1502bb55b2ff46300314e..d76ce6fb93c970d434c6ce21bcc74ada8e4ecc2f 100644 (file)
@@ -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
index 63d5890519fa10d00d335b8de8a3ecd2f20b892c..392e63c5aa14e528a474bdc02de84a71d6b425e0 100755 (executable)
@@ -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
index e4e76e226fc3cffa0e3d29e6dd7c4869ff3ef60a..317fbdcd2818ef63891f36fd9d04119e85ee059e 100644 (file)
@@ -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
index 2e1da3fb1bdcc321ad5c1f4c46bcefc3efbf40bc..f230adf681b475225caf9d99d9bbde2232d7c24d 100755 (executable)
@@ -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
index 0ac06db2486f11a1815c4fe34100afa25657529a..9c807465c49589416a3b56fcbee9d91de54dd36a 100644 (file)
@@ -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
index adab31f44d930d5cae362c0babb04cafc695b47d..f553a44c088b821e061dabd7d25c3b9247ce07e5 100755 (executable)
@@ -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
index 7b700c9a114ecdb0377928505b39398cdce28f3f..3c0186f0c7e9da769f14db3108b452f3e112b7f1 100644 (file)
@@ -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
index feb55bd1a8ced01f9b396335015be85181ee2a3c..55dd7d0a58aaeccce5268137b927e60307a13f17 100755 (executable)
@@ -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
index 090e3af84f794c62a552a6334d3efde3c62c9a65..dc6a31ec224c9f5b0c2b1bf158cff650648312dd 100644 (file)
@@ -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
index 309b2842f527624c1c474e0326bcf3f862cc363b..a379ca79dacfd3b8d5ae901054192c7ed8eaad04 100644 (file)
@@ -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
index 5d00ea265dc41923eaea3309ee79752313de6d8d..4d9e6a1aee883a0155f72e9a9c7576ee348c56c1 100644 (file)
@@ -4,4 +4,3 @@ Create the original files
 Compare files
 CoW every other block
 Compare files
-Check scratch fs