Skip to content

xfstests: add cifs.ko server-side copy helper

David Disseldorp fstests linux-btrfs linux-cifs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2src/cloner: check filesystem typesrc/cloner.c+47 -00 replies
2/2src/cloner: add CIFS_IOC_COPYCHUNK_FILE supportconfigure.ac src/cloner.c+68 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [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(-)