Skip to content

EXT4: read sparse files and unwritten extents as zeros - #960

Open
sax wants to merge 1 commit into
apple:mainfrom
sax:sax/sparse-files
Open

sax wants to merge 1 commit into
apple:mainfrom
sax:sax/sparse-files

Conversation

@sax

@sax sax commented Oct 9, 2026

Copy link
Copy Markdown

Previously the reader treated an inode's extents as a contiguous run of written blocks, so files with holes or preallocated (unwritten) extents were read and exported with wrong data instead of zero-filled gaps, corrupting sparse-file contents.

Previously the reader treated an inode's extents as a contiguous
run of written blocks, so files with holes or preallocated
(unwritten) extents were read and exported with wrong data instead
of zero-filled gaps, corrupting sparse-file contents.
@sax
sax force-pushed the sax/sparse-files branch from b8e367c to 95fa056 Compare October 9, 2026 22:47
@sax
sax marked this pull request as ready for review October 9, 2026 22:47
@sax

sax commented Oct 9, 2026

Copy link
Copy Markdown
Author

This is an attempt to fix #958.

This branch has not been deployed

No deployments
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