Skip to content

[wip] use opportunistic reflinks for copying files#5760

Draft
thisguycodes wants to merge 3 commits intomainfrom
thisguycodes/opportunistic-reflink
Draft

[wip] use opportunistic reflinks for copying files#5760
thisguycodes wants to merge 3 commits intomainfrom
thisguycodes/opportunistic-reflink

Conversation

@thisguycodes
Copy link
Copy Markdown
Contributor

Description

#5608 should go in first, this depends on it, and I want to get test timings from it.

Adds opportunistic reflink usage (clonefile and ioctlficlone) when copying files, particularly in tests. Reflinks result in no data needing to be copied / moved (besides a new inode created).

TODOs

Read the Gruntwork contribution guidelines.

  • I authored this code entirely myself
  • I am submitting code based on open source software (e.g. MIT, MPL-2.0, Apache)]
  • I am adding or upgrading a dependency or adapted code and confirm it has a compatible open source license
  • Update the docs.
  • Run the relevant tests successfully, including pre-commit checks.
  • Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Use opportunistic reflinks when copying files

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
terragrunt-docs Ready Ready Preview, Comment Mar 31, 2026 4:09pm

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 30, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 34e3f452-a6ce-4397-a469-b7cfdecc2cf0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch thisguycodes/opportunistic-reflink

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant