]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic: test accurate shared extent reporting
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 5 Aug 2016 07:38:54 +0000 (15:38 +0800)
committerEryu Guan <eguan@redhat.com>
Fri, 5 Aug 2016 08:15:55 +0000 (16:15 +0800)
commit7c0b493bf687820a7161d84c2bcb357e1cf905f5
tree9b8a17a0cd0deb25708cc7311e38de97c1ecd181
parentf45cb67b99f9feed17d560f4ea0e55c568e80797
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>
tests/generic/372 [new file with mode: 0755]
tests/generic/372.out [new file with mode: 0644]
tests/generic/group