On Mon, Sep 18, 2017 at 02:10:42PM -0700, Darrick J. Wong wrote: > > +# make sure the allocator didn't allocate more than the needed two extents > > echo "Check extent count" > > -xfs_bmap -l -p -v $testdir/file1 | grep '^[[:space:]]*1:' -q && xfs_bmap -l -p -v $testdir/file1 > > +xfs_bmap -l -p -v $testdir/file1 | grep '^[[:space:]]*2:' -q && xfs_bmap -l -p -v $testdir/file1 > > I haven't had time to read the getbmap rework over in xfs-land yet, but > I'm assuming from this diff that the new getbmap no longer merges adjacent > records? Yes. > Also, won't this break the test on old kernels? No - it just checks we don't have more than two extents instead of checking we don't have more than one, so it just relaxes the check a bit. -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html