All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wang Sheng-Hui <shhuiw@gmail.com>
To: xfstests <xfs@oss.sgi.com>,
	linux-btrfs@vger.kernel.org, list.btrfs@jan-o-sch.net
Subject: [PATCH] xfstests 276: fix error 'FIBMAP: Invalid argument'
Date: Wed, 27 Feb 2013 15:15:16 +0800	[thread overview]
Message-ID: <512DB284.1090806@gmail.com> (raw)

Btrfs doesn't support FIEMAP_FLAG_XATTR, which is enabled by
-x option of filefrag, and will fail with
	'FIBMAP: Invalid argument'
for 'filefrag -vx'. 'filefrag -vx' fails on btrfs with
     'FIEMAP failed with unsupported flags 2'
Remove the '-x' option.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
---
  276 |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/276 b/276
index 082f943..f2b17c9 100755
--- a/276
+++ b/276
@@ -75,7 +75,7 @@ _filter_extents()

  _check_file_extents()
  {
-	cmd="filefrag -vx $1"
+	cmd="filefrag -v $1"
  	echo "# $cmd" >> $seq.full
  	out=`$cmd | _filter_extents`
  	if [ -z "$out" ]; then
-- 
1.7.10.4


WARNING: multiple messages have this Message-ID (diff)
From: Wang Sheng-Hui <shhuiw@gmail.com>
To: xfstests <xfs@oss.sgi.com>,
	linux-btrfs@vger.kernel.org, list.btrfs@jan-o-sch.net
Subject: [PATCH] xfstests 276: fix error 'FIBMAP: Invalid argument'
Date: Wed, 27 Feb 2013 15:15:16 +0800	[thread overview]
Message-ID: <512DB284.1090806@gmail.com> (raw)

Btrfs doesn't support FIEMAP_FLAG_XATTR, which is enabled by
-x option of filefrag, and will fail with
	'FIBMAP: Invalid argument'
for 'filefrag -vx'. 'filefrag -vx' fails on btrfs with
     'FIEMAP failed with unsupported flags 2'
Remove the '-x' option.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
---
  276 |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/276 b/276
index 082f943..f2b17c9 100755
--- a/276
+++ b/276
@@ -75,7 +75,7 @@ _filter_extents()

  _check_file_extents()
  {
-	cmd="filefrag -vx $1"
+	cmd="filefrag -v $1"
  	echo "# $cmd" >> $seq.full
  	out=`$cmd | _filter_extents`
  	if [ -z "$out" ]; then
-- 
1.7.10.4

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

             reply	other threads:[~2013-02-27  7:15 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27  7:15 Wang Sheng-Hui [this message]
2013-02-27  7:15 ` [PATCH] xfstests 276: fix error 'FIBMAP: Invalid argument' Wang Sheng-Hui
2013-02-27 23:04 ` Dave Chinner
2013-02-27 23:04   ` Dave Chinner
2013-02-27 23:11   ` Eric Sandeen
2013-02-27 23:11     ` Eric Sandeen
2013-02-28  0:02   ` Wang Sheng-Hui
2013-02-28  0:02     ` Wang Sheng-Hui
2013-02-28  0:25     ` Dave Chinner
2013-02-28  0:25       ` Dave Chinner
2013-02-28  2:05       ` Wang Sheng-Hui
2013-02-28  2:05         ` Wang Sheng-Hui
2013-03-05 18:43 ` Rich Johnston
2013-03-05 18:43   ` Rich Johnston
2013-05-26  9:35   ` Zhi Yong Wu
2013-05-26  9:35     ` Zhi Yong Wu
2013-05-26 17:35     ` Eric Sandeen
2013-05-26 17:35       ` Eric Sandeen
2013-05-27  2:02       ` Zhi Yong Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=512DB284.1090806@gmail.com \
    --to=shhuiw@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=list.btrfs@jan-o-sch.net \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.