xfs
[Top] [All Lists]

Re: [PATCH] xfstests 276: fix error 'FIBMAP: Invalid argument'

To: Wang Sheng-Hui <shhuiw@xxxxxxxxx>
Subject: Re: [PATCH] xfstests 276: fix error 'FIBMAP: Invalid argument'
From: Rich Johnston <rjohnston@xxxxxxx>
Date: Tue, 5 Mar 2013 12:43:50 -0600
Cc: xfstests <xfs@xxxxxxxxxxx>, <linux-btrfs@xxxxxxxxxxxxxxx>, <list.btrfs@xxxxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <512DB284.1090806@xxxxxxxxx>
References: <512DB284.1090806@xxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1
This patch has been committed.

--Rich

commit eba3a5206cd7f8df73d6e6dbf2bb0afca677fca8
Author: Wang Sheng-Hui <shhuiw@xxxxxxxxx>
Date:   Thu Feb 28 02:05:56 2013 +0000

    xfstests 276: fix error 'FIBMAP: Invalid argument'

    Commit 05dadc0 ("Btrfs: add fiemap's flag check") added validity
    checks to the fiemap flags and hence invalid flags are now being
    rejected. Test 276 passes an invalid fiemap flag to btrfs, and so
    that test fails since this commit was added.

    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.

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH] xfstests 276: fix error 'FIBMAP: Invalid argument', Rich Johnston <=