]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: 276: new test to ensure btrfs backref integrity
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Wed, 7 Dec 2011 13:33:53 +0000 (14:33 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 8 Dec 2011 17:11:38 +0000 (17:11 +0000)
commitbd8ee45cf7f3d4005d35a1544f1295d782358f38
tree573dcdc7e4a35c4de486e107b1e955b635ef6032
parenta42043480f526f58a71e59f16d769c819d2dbb20
xfstests: 276: new test to ensure btrfs backref integrity

This is a btrfs specific scratch test checking the backref walker. It
creates a file system with compressed and uncompressed data extents, picks
files randomly and uses filefrag to get their extents. It then asks the
btrfs utility (inspect-internal) to do the backref resolving from fs-logical
address (the one filefrag calls "physical") back to the inode number and
file-logical offset, verifying the result.

Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
276 [new file with mode: 0755]
276.out [new file with mode: 0644]
common.config
group