[PATCH] smb2 FSCTL_SRV_COPYCHUNK support

Christian Ambach ambi at samba.org
Thu Feb 16 05:34:20 MST 2012


On 02/15/2012 02:05 PM, Volker Lendecke wrote:

> Ok, that might be fast enough to be done in a sync fashion.
> The default implementation though would probably do it via
> pread/pwrite which might be just slow enough to justify it
> to be done asynchronously.

MS-SMB2 3.3.4.2 (and product behavior <149>) says that servers should 
send an async interim response for FSCTL_SRV_COPYCHUNK or 
FSCTL_SRV_COPYCHUNK_WRITE so it might be a wise idea to have this 
available as async interface in VFS to make it easier to send out the 
interim responses in the SMB2 server code.

Cheers,
Christian



More information about the samba-technical mailing list