Skip to content

blacksmith-cache: mount git mirror sticky disk with noinit_itable - #39

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

blacksmith-cache: mount git mirror sticky disk with noinit_itable#39
piob-io merged 2 commits into
mainfrom
devin/1785361381-noinit-itable

Conversation

@piob-io

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

Copy link
Copy Markdown
Contributor

Summary

The git-mirror sticky disk is formatted with mkfs.ext4 -E lazy_itable_init=1, deferring inode-table zeroing to the ext4lazyinit kernel thread that runs after mount. Git-mirror entities are our highest-clone-count, lowest-commit-rate sticky disks β€” their committed snapshots are typically frozen before lazy init completes, so every clone replays the same multi-GB zeroing, which is discarded with the clone and never converges. Some of the write churn we attribute to git-mirror disks is likely this phantom zeroing rather than real mirror updates.

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

Same fix as useblacksmith/stickydisk#68 and useblacksmith/setup-docker-builder#123.

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. (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 marked this pull request as ready for review July 29, 2026 22:09
@piob-io
piob-io requested a review from adityamaru July 29, 2026 23:00
@piob-io
piob-io merged commit 2d63ce5 into main Jul 30, 2026
16 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