[PATCH][SMB3] Add defines for various newer FSCTLs
David Disseldorp
ddiss at samba.org
Mon May 23 10:13:47 UTC 2022
Patch looks fine to me:
Reviewed-by: David Disseldorp <ddiss at suse.de>
On Sun, 22 May 2022 19:09:34 -0500, Steve French via samba-technical wrote:
> #define FSCTL_DUPLICATE_EXTENTS_TO_FILE 0x00098344
> +#define FSCTL_DUPLICATE_EXTENTS_TO_FILE_EX 0x000983E8
This one looks interesting - I wonder what kind of client use it gets.
FICLONERANGE / BTRFS_IOC_CLONE_RANGE is atomic, so it should be possible
to extend Samba's current dup-extents support to handle the new flag
(DUPLICATE_EXTENTS_DATA_EX_SOURCE_ATOMIC) without needing any lower
level changes.
Cheers, David
More information about the samba-technical
mailing list