On Tue, Aug 11, 2015 at 12:32:01PM +1000, Dave Chinner wrote: > On Mon, Aug 10, 2015 at 04:12:59PM +0800, Liu Bo wrote: > > Regression test for btrfs defragment tool, it's aimed to verify > > that tail extents won't be skipped as a separate extent while the previous > > extents have been defrag'ed into a whole extent. > > > > Signed-off-by: Liu Bo <bo.li.liu@xxxxxxxxxx> > > I don't see anything btrfs specific in this test, so it belongs in > tests/generic/ > > Also, how is this different to generic/018 testing fragmented files > defrag back to one extent? Thanks for reminding me of this, it's in fact quite similar to one of the cases in generic/018, and the difference is that btrfs has an extent length thresh (256K) for deciding if the extent is big enough (no need to defrag). That said, I'd like to add this into generic/018 to keep it simple. Thanks, -liubo -- 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