Closed AkihiroSuda closed 6 years ago
Why? Are you suggesting we change? It sounds like containerd makes the correct choice over cp
.
Does current containerd really dedupe?
Sorry copy_file_range seems actually doing reflink (at least on XFS): https://github.com/containerd/continuity/pull/128
But it looks like potentially there is case where copy_file_range
does not do deduplication while ioctl_ficlonerange
does, on some non-XFS filesystems?
https://lwn.net/Articles/754506/
And there is also
ioctl_fideduperange(2
. really confusing.. :(