Re: [PATCH 2/2 v3] xfstests: add test for btrfs ioctl clone operation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <fdmanana@xxxxxxxxx>
> ---
> 
> 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 <ddiss@xxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux