reflink
reflink copied to clipboard
ReFS parallel (multithreaded) clones of single source file can fail
See https://github.com/microsoft/CopyOnWrite/issues/3 where creating clones can return success but the file is all zeroes (i.e. region clone did not actually take effect). PR in which I added serialization based on source path to make things fully stable: https://github.com/microsoft/CopyOnWrite/pull/6
I don't have a solution for this. Working on filing an issue with Windows team but any fix would be a long time coming.
Also see cross-process mutex implementation in https://github.com/microsoft/CopyOnWrite/pull/9
Tracking and more details on the bug in https://github.com/microsoft/CopyOnWrite/issues/12