Patch looks fine to me: Reviewed-by: David Disseldorp <ddiss@xxxxxxx> 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