David Disseldorp
2014-Jun-11 14:05 UTC
[PATCH 0/2] xfstests: add cifs.ko server-side copy helper
In preparation for adding cifs.ko support to xfstests, this patch series
extends the cloner binary to support SMB2 server-side copies via
CIFS_IOC_COPYCHUNK_FILE, in addition to the existing Btrfs COW clone
functionality.
This could be split into a separate binary if deemed necessary, but
given the code overlap, I though it suitable to share the same source.
Feedback appreciated.
--
David Disseldorp (2):
src/cloner: check filesystem type
src/cloner: add CIFS_IOC_COPYCHUNK_FILE support
configure.ac | 1 +
src/cloner.c | 123
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------
2 files changed, 114 insertions(+), 10 deletions(-)