btrfs: simple sparse copy testcase for btrfs

Tests file clone functionality of btrfs ("reflinks"):
   - Reflink a file
   - Reflink the reflinked file
   - Modify the original file
   - Modify the reflinked file

[sandeen: add helpers, make several mostly-cosmetic
 changes to the original testcase]

Signed-off-by: Koen De Wit <koen.de.wit@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Koen De Wit
2014-01-20 13:56:34 +11:00
committed by Dave Chinner
parent a050cb00c7
commit c8d9f19638
4 changed files with 128 additions and 0 deletions
+1
View File
@@ -28,3 +28,4 @@
023 auto
024 auto quick
025 auto quick
026 auto quick