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

Implement copy_file_range operation #620

Merged
merged 1 commit into from
Nov 22, 2023
Merged

Conversation

vlovich
Copy link
Contributor

@vlovich vlovich commented Oct 17, 2023

What does this PR do?

copy_file_range is a convenient way to COW blocks within the same filesystem.

Motivation

I want to utilize reflinks to copy data between files. Ideally at some point in the future this will get integrated into io_uring instead of being a blocking syscall (axboe/liburing#831).

Related issues

Additional Notes

Checklist

X] I have added unit tests to the code I am submitting
[] My unit tests cover both failure and success scenarios
[] If applicable, I have discussed my architecture

copy_file_range is a convenient way to COW blocks within the same
filesystem.
@glommer glommer merged commit 90c102e into DataDog:master Nov 22, 2023
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants