On Sat, 24 May 2014 17:50:55 +0100, Filipe David Borba Manana wrote: > This is a test to verify that the btrfs ioctl clone operation is > able to clone extents of a file to different positions of the file, > that is, the source and target files are the same. Existing tests > only cover the case where the source and target files are different. > > Signed-off-by: Filipe David Borba Manana <fdman...@gmail.com> > --- > > V2: Made the test exercise a more complex code path in the btrfs ioctl clone > code. Now we have extents with different sizes and make the cloner process > partial extents and split existing extents with smaller ones. > > V3: Add tests to verify that after writing to a cloned extent, the original > extent isn't modified, that defragmenting a file with cloned extents > doesn't change the file contents and that all the tests have the same > exact semantics (as observed by an application/user) regardless of the > following options (and any combination): cow/nodatacow/compression.
Looks good. Reviewed-by: David Disseldorp <dd...@suse.de> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html