continuity
continuity copied to clipboard
copyFileContent broken on zfs (in some cases)
See https://github.com/moby/moby/issues/41866
Basically, need to add EINVAL on this line: https://github.com/containerd/continuity/blob/180525291bb77dea7062ac4281fcd38e2a3d76c5/fs/copy_linux.go#L90
Also worth considering if any error should cause the fallback.
I haven't isolated the kernel version/zfs version that causes the issue. My kernel & zfs version are posted in the moby ticket linked above.