s3/smbd: make copy chunk asynchronous
authorRalph Boehme <slow@samba.org>
Sun, 12 Mar 2017 17:13:48 +0000 (18:13 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 28 Mar 2017 19:36:18 +0000 (21:36 +0200)
commit60e45a2d25401eaf9a15a86d19114670ccfde259
tree29184a1bd1c18c9e4a03d87524312789a627144a
parenta849a124388ae511d1f7b3cdafb2fa52a395d284
s3/smbd: make copy chunk asynchronous

Just use SMB_VFS_PREAD_SEND/RECV and SMB_VFS_PWRITE_SEND/RECV in a
sensible loop.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Mar 28 21:36:18 CEST 2017 on sn-devel-144
source3/modules/vfs_default.c