RFE: Reflink the file before rewriting it
kakra opened this issue · comments
Modern filesystems like XFS and btrfs support reflinking a file. Before rewriting the file, we could reflink the accused file to the rewrite source, then use that to rewrite the other file. That would save us one complete rewrite and should improve performance by 50% on such filesystems. What do you think?
Implemented by PR #14.