s3/vfs: make SMB_VFS_OFFLOAD_WRITE_SEND offload token based
authorRalph Boehme <slow@samba.org>
Fri, 9 Jun 2017 11:02:49 +0000 (13:02 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 3 Jul 2017 17:59:08 +0000 (19:59 +0200)
commit3645f83a3c83fa3e4bf4dbacf885cc4295e7eadd
tree7b14b55f4f51eb63d786b91f5c0533f4d5df611f
parentd50f307e97ae28b9fbdc2e6cffb1b5493c583a09
s3/vfs: make SMB_VFS_OFFLOAD_WRITE_SEND offload token based

Remove the source fsp argument and instead pass the offload token
generated with SMB_VFS_OFFLOAD_READ_SEND/RECV.

An actual offload fsctl is not implemented yet, neither in the VFS nor
at the SMB ioctl layer, and returns NT_STATUS_NOT_IMPLEMENTED

With these changes we now pass the copy-chunk-across-shares test.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
15 files changed:
examples/VFS/skel_opaque.c
examples/VFS/skel_transparent.c
selftest/knownfail.d/smb2.ioctl.copy-chunk-across-shares [deleted file]
source3/include/vfs.h
source3/include/vfs_macros.h
source3/modules/offload_token.c
source3/modules/offload_token.h
source3/modules/vfs_btrfs.c
source3/modules/vfs_default.c
source3/modules/vfs_fruit.c
source3/modules/vfs_full_audit.c
source3/modules/vfs_time_audit.c
source3/smbd/smb2_ioctl_filesys.c
source3/smbd/smb2_ioctl_network_fs.c
source3/smbd/vfs.c