]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: seek data and holes that are in the CoW fork only
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 21 Jun 2017 21:57:57 +0000 (14:57 -0700)
committerEryu Guan <eguan@redhat.com>
Thu, 22 Jun 2017 15:25:32 +0000 (23:25 +0800)
commitca9c677346610504f470678f3e897ebf8cb82693
treed6085fbbfbffe792c8ba33752798f4dff012b091
parent1bd599745efd80d7fe81ed06adecb244dd5bacef
xfs: seek data and holes that are in the CoW fork only

Create a file with a hole in the data fork and CoW reservations in the
same region in the CoW fork.  Ensure that SEEK_HOLE/DATA find the data.

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/xfs/420 [new file with mode: 0755]
tests/xfs/420.out [new file with mode: 0644]
tests/xfs/421 [new file with mode: 0755]
tests/xfs/421.out [new file with mode: 0644]
tests/xfs/group