[PATCH] smb2 FSCTL_SRV_COPYCHUNK support

Jeremy Allison jra at samba.org
Tue Oct 11 17:35:12 MDT 2011


On Tue, Oct 11, 2011 at 03:36:30PM +0200, David Disseldorp wrote:
> Hi,
> 
> This set of changes adds support for the FSCTL_SRV_COPYCHUNK server side
> copy operation and the FSCTL_SRV_REQUEST_RESUME_KEY prerequisite.
> Corresponding smbtorture tests are also included (these make up the
> majority of the changes).
> 
> A copy_chunk vfs hook is added for the particular benefit of btrfs backed
> shares, which can harness the awesomeness of BTRFS_IOC_CLONE_RANGE.
> 
> Generic smb2 ioctl error path fixes are still pending (we currently
> incorrectly assume an error response packet on ioctl failure), but for
> now I'd like to get some more eyes over the changes.

I'm really glad you got the time to do this - thanks !

This was on my list of things to work on, but I hadn't got
the chance yet :-).

Jeremy.


More information about the samba-technical mailing list