diff options
author | David Disseldorp <ddiss@suse.de> | 2013-01-15 17:22:59 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-01-16 23:15:06 +0100 |
commit | ef00eb90e56dfac2d823582cec92abf1fa9905f1 (patch) | |
tree | 3a582f5ce6ae0a1da9e55de2a380a79fa4bd8bdd /docs-xml | |
parent | 2bde9636888067210dc38523b6fafaa0b179ec3b (diff) | |
download | samba-ef00eb90e56dfac2d823582cec92abf1fa9905f1.tar.gz samba-ef00eb90e56dfac2d823582cec92abf1fa9905f1.tar.bz2 samba-ef00eb90e56dfac2d823582cec92abf1fa9905f1.zip |
s3-vfs: add copy_chunk vfs hooks
copy_chunk copies n bytes from a source file at a specific offset to a
destination file at a given offset. This interface will be used in
handling smb2 FSCTL_SRV_COPYCHUNK ioctl requests.
Use a pread/pwrite loop in vfs_default, so that requests referring to
the same src and dest file are possible.
Provide send and receive hooks for copy chunk VFS interface, allowing
asynchronous behaviour.
Check whether the request source offset + length exceeds the current
size. Return STATUS_INVALID_VIEW_SIZE under such a condition, matching
Windows server behaviour.
Reviewed by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'docs-xml')
-rw-r--r-- | docs-xml/manpages/vfs_full_audit.8.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs-xml/manpages/vfs_full_audit.8.xml b/docs-xml/manpages/vfs_full_audit.8.xml index a44924a8f6..312bc25078 100644 --- a/docs-xml/manpages/vfs_full_audit.8.xml +++ b/docs-xml/manpages/vfs_full_audit.8.xml @@ -46,6 +46,8 @@ <member>close</member> <member>closedir</member> <member>connect</member> + <member>copy_chunk_send</member> + <member>copy_chunk_recv</member> <member>disconnect</member> <member>disk_free</member> <member>fchmod</member> |