]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: map multiple bmbt records to a single rmapbt record
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 27 May 2016 03:28:51 +0000 (20:28 -0700)
committerEryu Guan <eguan@redhat.com>
Wed, 15 Jun 2016 07:44:49 +0000 (15:44 +0800)
commitffad9122b6d7dfd796a925c65f37625dae99d750
treea8a20a35b1148f1d26409c64350bcd66faef8cb3
parent12c5657cfabafe122d93cd5c03d6e92b581e2e5d
xfs: map multiple bmbt records to a single rmapbt record

Make sure that we can handle multiple bmbt records mapping to a
single rmapbt record.  This can happen if you fallocate more than
2^21 contiguous blocks to a file.

(Also add some helpers that can create huge devices with some
dm-zero and dm-snapshot fakery.)

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/dmhugedisk [new file with mode: 0644]
tests/xfs/310 [new file with mode: 0755]
tests/xfs/310.out [new file with mode: 0644]
tests/xfs/group