Skip to content

Add option for special sparse file handling#63

Merged
DoctorJohn merged 1 commit into
mainfrom
add-option-to-turn-off-efficient-sparse-file-handling
Apr 7, 2026
Merged

Add option for special sparse file handling#63
DoctorJohn merged 1 commit into
mainfrom
add-option-to-turn-off-efficient-sparse-file-handling

Conversation

@DoctorJohn

@DoctorJohn DoctorJohn commented Apr 7, 2026

Copy link
Copy Markdown
Owner

This PR adds an option to disable the special sparse file handling enabled by default in tar-rs, the Rust library fastar is built on.

The newly added option serves as an escape hatch when the detection of file systems supporting sparse files fails (e.g., composefs/tar-rs#406) or when special handling of sparse files is not desired.

@DoctorJohn DoctorJohn force-pushed the add-option-to-turn-off-efficient-sparse-file-handling branch from 470899f to ca4ccae Compare April 7, 2026 23:39
@codspeed-hq

codspeed-hq Bot commented Apr 7, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 21 untouched benchmarks


Comparing add-option-to-turn-off-efficient-sparse-file-handling (ca4ccae) with main (8e0ffc4)

Open in CodSpeed

@DoctorJohn DoctorJohn merged commit bbd728e into main Apr 7, 2026
52 of 54 checks passed
@DoctorJohn DoctorJohn deleted the add-option-to-turn-off-efficient-sparse-file-handling branch April 7, 2026 23:55
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