Don't fall back on 'cp' if the FICLONE ioctl gives an errno that's not plausibly reflink specific, because in such a case any fallback could theoretically mask real but intermittent system/storage errors. Looking through ioctl_ficlone(2) and the kernel source, it should be sufficient to do the fallback only on EBADF/EINVAL/EOPNOTSUPP/EXDEV. (EISDIR/ETXTBSY don't apply to this storage driver, which will never legitimately attempt to reflink a directory or an active - in the storage domain - swap file.) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| file.py | ||
| kernels.py | ||
| lvm.py | ||
| README.md | ||
| reflink.py | ||
WNI File storage
Before v3.1 there existed a draft wni storage. You can find it in the git history
(it was in /core/storage directory, now gone)