xfs
[Top] [All Lists]

Re: [PATCH v2] xfstests: new check 278 to ensure btrfs backref integrity

To: Jan Schmidt <list.btrfs@xxxxxxxxxxxxx>
Subject: Re: [PATCH v2] xfstests: new check 278 to ensure btrfs backref integrity
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Wed, 4 Jan 2012 11:39:46 -0500
Cc: xfs@xxxxxxxxxxx, sandeen@xxxxxxxxxxx, linux-btrfs@xxxxxxxxxxxxxxx
In-reply-to: <1324552138-30584-1-git-send-email-list.btrfs@xxxxxxxxxxxxx>
References: <1324552138-30584-1-git-send-email-list.btrfs@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
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

<Prev in Thread] Current Thread [Next in Thread>