s3/smbd: implement a serializing async copy-chunk loop
authorRalph Boehme <slow@samba.org>
Tue, 21 Mar 2017 08:17:03 +0000 (09:17 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 28 Mar 2017 15:45:20 +0000 (17:45 +0200)
commit8bc94a9f9d54134489bf4c98ced8e60e2712ddf4
treebcd9aa23799a73e78fc1aec0af6cbe5d6cd21b70
parent6314dda7fe0a83a3e16fe59d87232782817daadc
s3/smbd: implement a serializing async copy-chunk loop

Later commits will make the low level copy-chunk implementation async
using a thread pool. That means the individual chunks may be scheduled
and copied out-of-order at the low level.

According to conversation with MS Dochelp, a server implementation
must process individual chunks in order.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_ioctl_network_fs.c