[PATCH v2] xfstests: new check 278 to ensure btrfs backref integrity
Christoph Hellwig
hch at infradead.org
Wed Jan 4 10:39:46 CST 2012
On Thu, Dec 22, 2011 at 12:08:58PM +0100, Jan Schmidt wrote:
> 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.
I was about to apply this, but for some reason it fails for me when
running xfstest on xfs:
276 [failed, exit status 1] - output mismatch (see 276.out.bad)
--- 276.out 2012-01-04 16:14:36.000000000 +0000
+++ 276.out.bad 2012-01-04 16:32:26.000000000 +0000
@@ -1,4 +1,5 @@
QA output created by 276
-*** test backref walking
-*** done
+common.rc: Error: $TEST_DEV (/dev/vdb1) is not a MOUNTED btrfs
filesystem
+Filesystem Type 1K-blocks Used Available Use% Mounted on
+/dev/vdb1 xfs 39042944 32928 39010016 1% /mnt/test
*** unmount
which is a bit confusing
More information about the xfs
mailing list