Skip to content

fix(erofs): Fix and optimize size of generated erofs archives#3

Draft
nurof3n wants to merge 1 commit intomainfrom
nurof3n/fix/erofs-writer
Draft

fix(erofs): Fix and optimize size of generated erofs archives#3
nurof3n wants to merge 1 commit intomainfrom
nurof3n/fix/erofs-writer

Conversation

@nurof3n
Copy link
Copy Markdown

@nurof3n nurof3n commented Feb 19, 2026

Bug fixes:

  • Fix stack overflow issue on recursive symlinks
  • Fix root inode tracking - Properly set RootNid in superblock and count unique inodes
  • Count inodes by nid, not by path
  • Add proper block boundary checks

Optimizations:

  • Add tail packing support for files with partial blocks (but it is currently kept disabled for DAX compatibility)
  • Allow metadata alongside the superblock in the first block
  • Various optimizations to inlining (but it is currently kept disabled for DAX compatibility)

Bug fixes:

- Fix stack overflow issue on recursive symlinks
- Fix root inode tracking - Properly set RootNid in superblock and
count unique inodes
- Count inodes by nid, not by path
- Add proper block boundary checks

Optimizations:

- Add tail packing support for files with partial blocks (but it is
currently kept disabled for DAX compatibility)
- Allow metadata alongside the superblock in the first block
- Various optimizations to inlining (but it is currently kept disabled
for DAX compatibility)

Signed-off-by: Alex-Andrei Cioc <andrei.cioc@unikraft.io>
@nurof3n nurof3n marked this pull request as draft February 19, 2026 10:46
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