reflink: test aio copy on write

Make sure that copy on write works with the AIO path.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
Darrick J. Wong
2016-02-01 16:01:29 -08:00
parent 34f8839435
commit 3c95f55047
9 changed files with 443 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
QA output created by 330
Format and mount
Create the original files
Compare files
1886e67cf8783e89ce6ddc5bb09a3944 SCRATCH_MNT/test-330/file1
1886e67cf8783e89ce6ddc5bb09a3944 SCRATCH_MNT/test-330/file2
CoW and unmount
Compare files
1886e67cf8783e89ce6ddc5bb09a3944 SCRATCH_MNT/test-330/file1
7a4d22297e80ff3c92cb1b3e4566d234 SCRATCH_MNT/test-330/file2
Check for damage