blob: d1b5483afb9375eec280fd1460cadf39301d3082 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
QA output created by 420
Format and mount
Create the original files
Compare files
c2803804acc9936eef8aab42c119bfac SCRATCH_MNT/test-420/file1
c2803804acc9936eef8aab42c119bfac SCRATCH_MNT/test-420/file2
c2803804acc9936eef8aab42c119bfac SCRATCH_MNT/test-420/file3
CoW the shared part then write into the empty part
Seek holes and data in file1
Whence Result
DATA 0
HOLE 131072
Seek holes and data in file2
Whence Result
DATA 0
HOLE 131072
DATA 196608
HOLE 262144
Compare files
c2803804acc9936eef8aab42c119bfac SCRATCH_MNT/test-420/file1
017c08a9320aad844ce86aa9631afb98 SCRATCH_MNT/test-420/file2
017c08a9320aad844ce86aa9631afb98 SCRATCH_MNT/test-420/file3
sync filesystem
Seek holes and data in file1
Whence Result
DATA 0
HOLE 131072
Seek holes and data in file2
Whence Result
DATA 0
HOLE 131072
DATA 196608
HOLE 262144
Compare files
c2803804acc9936eef8aab42c119bfac SCRATCH_MNT/test-420/file1
017c08a9320aad844ce86aa9631afb98 SCRATCH_MNT/test-420/file2
017c08a9320aad844ce86aa9631afb98 SCRATCH_MNT/test-420/file3
Remount
Seek holes and data in file1
Whence Result
DATA 0
HOLE 131072
Seek holes and data in file2
Whence Result
DATA 0
HOLE 131072
DATA 196608
HOLE 262144
Compare files
c2803804acc9936eef8aab42c119bfac SCRATCH_MNT/test-420/file1
017c08a9320aad844ce86aa9631afb98 SCRATCH_MNT/test-420/file2
017c08a9320aad844ce86aa9631afb98 SCRATCH_MNT/test-420/file3
|