src/cloner: add CIFS_IOC_COPYCHUNK_FILE support
authorDavid Disseldorp <ddiss@suse.de>
Tue, 17 Jun 2014 23:32:59 +0000 (09:32 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 17 Jun 2014 23:32:59 +0000 (09:32 +1000)
commitf8c880df31d56121f50070b4812f3b07a2295b90
treedf24cabcbb9b808acb27d5fdb34fc9929bf00af8
parentc79bb5c6417957c11304aeacd0c0c3767f86768e
src/cloner: add CIFS_IOC_COPYCHUNK_FILE support

cifs.ko supports server-side copy offloads via CIFS_IOC_COPYCHUNK_FILE.
In handling the ioctl, the request is split into a series of
SMB2 FSCTL_SRV_COPYCHUNK wire requests, which may be handled by the SMB
server as a local read/write, or COW clone as is the case for Samba with
vfs_btrfs.

Signed-off-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
configure.ac
src/cloner.c