reflink: test adjacency of reflinked blocks
authorDarrick J. Wong <darrick.wong@oracle.com>
Sat, 25 Feb 2017 01:12:57 +0000 (17:12 -0800)
committerEryu Guan <eguan@redhat.com>
Wed, 1 Mar 2017 03:25:06 +0000 (11:25 +0800)
commit7927c5c94c51d30947824832bc066079155144de
tree51049b23ec1427fc529075fa212f5819d4ffabf1
parent5fa3e61cc220e2673b2998d2d11ef16884889979
reflink: test adjacency of reflinked blocks

If we reflink a file with N blocks to another file one block at a time,
does the destination file end up with the same number of extents as the
source file?  In other words, does the filesystem succeed at combining
adjacent mappings into a maximal extents?

Signed-off-by: Darrick J. Wong <djwong@djwong.org>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/414 [new file with mode: 0755]
tests/generic/414.out [new file with mode: 0644]
tests/generic/group