On Windows, file cloning is supported by the DeviceIoControl function with the FSCTL_DUPLICATE_EXTENTS control code and DUPLICATE_EXTENTS_DATA parameter on Windows Server 2016 and above.
https://docs.microsoft.com/en-us/windows/win32/fileio/block-cloning
https://docs.microsoft.com/en-us/windows/win32/api/winioctl/ni-winioctl-fsctl_duplicate_extents_to_file
https://docs.microsoft.com/en-us/windows/win32/api/ioapiset/nf-ioapiset-deviceiocontrol
https://docs.microsoft.com/en-us/windows/win32/api/winioctl/ns-winioctl-duplicate_extents_data
https://docs.microsoft.com/en-us/windows/win32/fileio/block-cloning
https://docs.microsoft.com/en-us/windows/win32/api/winioctl/ni-winioctl-fsctl_duplicate_extents_to_file
https://docs.microsoft.com/en-us/windows/win32/api/ioapiset/nf-ioapiset-deviceiocontrol
https://docs.microsoft.com/en-us/windows/win32/api/winioctl/ns-winioctl-duplicate_extents_data
- relates to
-
JDK-8293125 (fs) Use file cloning in Windows versions of FileChannel transfer methods
-
- Closed
-