Skip to content

mount sticky disk with noinit_itable to stop repeated lazy-init writes - #123

Merged
piob-io merged 2 commits into
mainfrom
devin/1785361113-noinit-itable
Jul 30, 2026
Merged

mount sticky disk with noinit_itable to stop repeated lazy-init writes#123
piob-io merged 2 commits into
mainfrom
devin/1785361113-noinit-itable

Conversation

@piob-io

@piob-io piob-io commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Summary

The builder sticky disk is formatted with mkfs.ext4 -E lazy_itable_init=1, which defers inode-table zeroing to a background kernel thread (ext4lazyinit) that runs after mount. Sticky disks are copy-on-write clones of a committed snapshot: if the entity's snapshot was taken before lazy init finished (common for rarely-committing or depth-throttled builder disks), every subsequent clone replays the same multi-GB zeroing, and those Ceph writes are discarded with the clone — they never converge.

Fix: mount with -o noinit_itable to disable the zeroing thread. It is not needed for correctness — mkfs enables checksummed group descriptors that track unused inodes, and unallocated blocks on the thin-provisioned RBD device already read back as zeroes.

Same fix as useblacksmith/stickydisk#68; this should also be applied to release/v2 after merge (mount code is identical there).

Link to Devin session: https://app.devin.ai/sessions/1054a9452e8a49ccb891391e2327a612
Requested by: @piob-io


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled. (Staging)

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@piob-io piob-io self-assigned this Jul 29, 2026
@devin-ai-integration

Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@piob-io
piob-io merged commit 9309da7 into main Jul 30, 2026
14 checks passed
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.

2 participants