Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use zfs opportunistic block cloning (like cp --reflink=auto) #279

Open
kc9jud opened this issue Nov 1, 2024 · 0 comments
Open

Use zfs opportunistic block cloning (like cp --reflink=auto) #279

kc9jud opened this issue Nov 1, 2024 · 0 comments

Comments

@kc9jud
Copy link

kc9jud commented Nov 1, 2024

For various technical reasons, it is not possible to reflink between different ZFS datasets. However, instead of calling ioctl(FICLONE) one can call copy_file_range() which ZFS will try to handle with block cloning, but not always. It might be useful to have fclones dedupe mimic the behavior of coreutils>=9.1 which tries ioctl(FICLONE) and then falls back to copy_file_range(), at least if the files are on a ZFS dataset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant