* edit UnityFS BlocksInfo-at-end bundles by appending tail blocks - #198
Open
Hawkynt wants to merge 1 commit into
Open
* edit UnityFS BlocksInfo-at-end bundles by appending tail blocks#198Hawkynt wants to merge 1 commit into
Hawkynt wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
BlocksInfoAtEnd(0x80)CanModifynow that a genuine random-access mutation path exists for the supported profileComplexity
For
BlocksInfoAtEndlayouts:Untouched existing storage blocks are never read through the modifier and never rewritten. Front-loaded BlocksInfo remains rebuild-only because growing that metadata shifts the data stream by construction.
Tests
Added descriptor-level I/O-budget coverage using a 4 MiB untouched stored node. A tiny tail add and removal of the final independent block must stay below 128 KiB of archive reads/writes while the 4 MiB block remains at the same physical offset and extracts byte-identically. Zero-length removal is likewise metadata-only, and a shared-block removal is required to fall back rather than corrupt a survivor.
This PR is reconstructed on current
mainfrom the previously prepared branch; the two modified pre-existing files were byte-identical upstream, so the resulting diff contains only the intended four UnityFS files.