Add CoW support on Windows
Author: phuclv90Created Jan 8, 2026Updated Aug 12, 2026
Labelswindows
ReFS on Windows has supported CoW for a long time, yet fs__copyfile still returns error when FICLONE_FORCE mode is used, and when FICLONE is used then it still calls the normal CopyFileW API instead of FSCTL_DUPLICATE_EXTENTS_TO_FILE(_EX) to clone
Nowadays developers are encourage to use Dev Drive to improve performance, which uses ReFS under the hood along with various other optimizations
Source: libuv/libuv