Files
apfstests/tests/generic/372.out
T
Darrick J. Wong 7c0b493bf6 generic: test accurate shared extent reporting
Ensure that we can create a file with a single extent, reflink two
blocks out of the middle of that extent, and the resulting fiemap
reports two shared extents, instead of lazily reporting the entire
huge extent as shared.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
2016-08-05 16:15:55 +08:00

18 lines
311 B
Plaintext

QA output created by 372
Format and mount
Create the original files
file1 extents and holes
1
0
Compare files
17af09af790a9b4c79cddf72f6b642cb SCRATCH_MNT/test-372/file1
79418df9c55ab7f58781cb7b9e7d5d91 SCRATCH_MNT/test-372/file2
file1 extents and holes
5
0
file2 extents and holes
2
2
file1 shared extents
2