Skip to content

Fix various issues pointed out by review. - #181

Merged
clalancette merged 3 commits into
masterfrom
clalancette/fix-issues
Aug 11, 2026
Merged

Fix various issues pointed out by review.#181
clalancette merged 3 commits into
masterfrom
clalancette/fix-issues

Conversation

@clalancette

Copy link
Copy Markdown
Owner

No description provided.

Basically we remove tons of redundant seeks in the method
based on the observation that this always writes out
consecutive data.  By getting rid of these syscalls we
greatly improve performance of this method.  Also add
in tests to make sure that this still works.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
We were getting an index error earlier because we were
calculating the end *before* the loop.  Fix this and
add a test.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Otherwise trying to reshuffle the extents would fail since
it wouldn't find an attached Inode object.  Also add
in tests.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
@clalancette
clalancette merged commit a9855c2 into master Aug 11, 2026
5 checks passed
@clalancette
clalancette deleted the clalancette/fix-issues branch August 11, 2026 13:57
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