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

Add support for other filesystems that support reflink #342

Open
Schweber opened this issue Apr 22, 2024 · 3 comments
Open

Add support for other filesystems that support reflink #342

Schweber opened this issue Apr 22, 2024 · 3 comments

Comments

@Schweber
Copy link

The manual states that the -d option only works on btrfs and xfs.

It is my understanding (please correct me if i'm wrong) that all filesystems with reflink can be deduplicated. This would include bcachefs, zfs and f2fs.

If this is indeed the case, i kindly suggest to support them as well.

@ErrorNoInternet
Copy link

They need to support a specific ioctl, not just reflink. But if they support reflinks then it should be fairly straightforward for them to implement the ioctl.

ZFS for example: openzfs/zfs#15393

@Schweber
Copy link
Author

I see. Thank you for the explaination and sorry for my ignorance.

@trougnouf
Copy link

trougnouf commented Aug 15, 2024

It looks like bcachefs supports the necessary FIDEDUPERANGE ioctl (per koverstreet/bcachefs#622 ).

@Schweber Schweber reopened this Aug 15, 2024
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

3 participants