+++ /dev/null
-QA output created by 026
-Create the original file and reflink to copy1, copy2
-Original md5sums:
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-026/original
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-026/copy1
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-026/copy2
-Overwrite original file with new data
-md5sums after overwriting original:
-4a847a25439532bf48b68c9e9536ed5b TEST_DIR/test-026/original
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-026/copy1
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-026/copy2
-Overwrite copy1 with different new data
-md5sums after overwriting copy1:
-4a847a25439532bf48b68c9e9536ed5b TEST_DIR/test-026/original
-e271cd47d9f62ebc96cb4e67ae4d16db TEST_DIR/test-026/copy1
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-026/copy2
+++ /dev/null
-QA output created by 027
-Create the original files and reflink dirs
-Original md5sums:
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-027/original/file1
-ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-027/original/subdir/file2
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-027/copy1/file1
-ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-027/copy1/subdir/file2
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-027/copy2/file1
-ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-027/copy2/subdir/file2
-Overwrite original/file1 and original/subdir/file2 with new data
-md5sums now:
-260f6785c0537fd12582dcae28a3c1a9 TEST_DIR/test-027/original/file1
-b8d91fb600f6f2191f2ba66665374860 TEST_DIR/test-027/original/subdir/file2
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-027/copy1/file1
-ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-027/copy1/subdir/file2
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-027/copy2/file1
-ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-027/copy2/subdir/file2
-Overwrite copy1/file1 and copy1/subdir/file2 with new data
-md5sums now:
-260f6785c0537fd12582dcae28a3c1a9 TEST_DIR/test-027/original/file1
-b8d91fb600f6f2191f2ba66665374860 TEST_DIR/test-027/original/subdir/file2
-b20229a003e3985c4b0e6806abcd6642 TEST_DIR/test-027/copy1/file1
-b815b24069db14e0a3a07169fd563e93 TEST_DIR/test-027/copy1/subdir/file2
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-027/copy2/file1
-ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-027/copy2/subdir/file2
+++ /dev/null
-QA output created by 028
-Create the original files and reflink dirs
-Move orig & reflink copy to subdir and md5sum:
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-028/subdir/original_moved
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-028/subdir/copy_moved
-remove orig from subdir and md5sum reflink copy:
-42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-028/subdir/copy_moved
023 auto
024 auto quick compress
025 auto quick send clone
-026 auto quick clone
-027 auto quick clone
-028 auto quick clone
029 auto quick clone
030 auto quick send
031 auto quick subvol clone
#! /bin/bash
-# FS QA Test No. 026
+# FS QA Test No. 110
#
# Tests file clone functionality of btrfs ("reflinks"):
# - Reflink a file
--- /dev/null
+QA output created by 110
+Create the original file and reflink to copy1, copy2
+Original md5sums:
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-110/original
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-110/copy1
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-110/copy2
+Overwrite original file with new data
+md5sums after overwriting original:
+4a847a25439532bf48b68c9e9536ed5b TEST_DIR/test-110/original
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-110/copy1
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-110/copy2
+Overwrite copy1 with different new data
+md5sums after overwriting copy1:
+4a847a25439532bf48b68c9e9536ed5b TEST_DIR/test-110/original
+e271cd47d9f62ebc96cb4e67ae4d16db TEST_DIR/test-110/copy1
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-110/copy2
#! /bin/bash
-# FS QA Test No. 027
+# FS QA Test No. 111
#
# Tests file clone functionality of btrfs ("reflinks") on directory
# trees.
--- /dev/null
+QA output created by 111
+Create the original files and reflink dirs
+Original md5sums:
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-111/original/file1
+ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-111/original/subdir/file2
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-111/copy1/file1
+ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-111/copy1/subdir/file2
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-111/copy2/file1
+ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-111/copy2/subdir/file2
+Overwrite original/file1 and original/subdir/file2 with new data
+md5sums now:
+260f6785c0537fd12582dcae28a3c1a9 TEST_DIR/test-111/original/file1
+b8d91fb600f6f2191f2ba66665374860 TEST_DIR/test-111/original/subdir/file2
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-111/copy1/file1
+ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-111/copy1/subdir/file2
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-111/copy2/file1
+ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-111/copy2/subdir/file2
+Overwrite copy1/file1 and copy1/subdir/file2 with new data
+md5sums now:
+260f6785c0537fd12582dcae28a3c1a9 TEST_DIR/test-111/original/file1
+b8d91fb600f6f2191f2ba66665374860 TEST_DIR/test-111/original/subdir/file2
+b20229a003e3985c4b0e6806abcd6642 TEST_DIR/test-111/copy1/file1
+b815b24069db14e0a3a07169fd563e93 TEST_DIR/test-111/copy1/subdir/file2
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-111/copy2/file1
+ca390545f0aedb54b808d6128c56a7dd TEST_DIR/test-111/copy2/subdir/file2
#! /bin/bash
-# FS QA Test No. 028
+# FS QA Test No. 115
#
# Moving and deleting cloned ("reflinked") files on btrfs:
# - Create a file and a reflink
--- /dev/null
+QA output created by 115
+Create the original files and reflink dirs
+Move orig & reflink copy to subdir and md5sum:
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-115/subdir/original_moved
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-115/subdir/copy_moved
+remove orig from subdir and md5sum reflink copy:
+42d69d1a6d333a7ebdf64792a555e392 TEST_DIR/test-115/subdir/copy_moved
107 auto quick metadata
108 auto quick rw
109 auto metadata dir
+110 auto quick clone
+111 auto quick clone
112 rw aio auto quick
113 rw aio auto quick
114 rw aio auto quick
+115 auto quick clone
117 attr auto quick
120 other auto quick
123 perms auto quick