mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
7c0b493bf6
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>
18 lines
311 B
Plaintext
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
|