Skip to content

Added copy_file_range for faster file copy in mkcomposefs.#276

Merged
alexlarsson merged 1 commit intocomposefs:mainfrom
wahtari:copy_file_range
Apr 25, 2024
Merged

Added copy_file_range for faster file copy in mkcomposefs.#276
alexlarsson merged 1 commit intocomposefs:mainfrom
wahtari:copy_file_range

Conversation

@divineaugustine
Copy link
Copy Markdown
Contributor

This resolves #274
Added fallback to classic file copy if the copy_file_range fails for the reasons it can be retried. I have tested the fallback with digest path set to a USB drive where the copy_file_range fails with EXDEV.

Signed-off-by: Divin Ookken Athappan <oadivin@gmail.com>
@divineaugustine divineaugustine changed the title Added copy_file_range for faster file copy. Added copy_file_range for faster file copy in mkcomposefs. Apr 18, 2024
Copy link
Copy Markdown
Collaborator

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexlarsson alexlarsson merged commit ecef20c into composefs:main Apr 25, 2024
@cgwalters
Copy link
Copy Markdown
Contributor

Hello @divineaugustine there's a request to relicense this repository, please comment on #344

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.

use copy_file_range for file copy in mkcomposefs

4 participants