Skip to content

Enable simple Btrfs quotas - #1145

Open
ConnorNelson wants to merge 1 commit into
masterfrom
codex/enable-simple-btrfs-quotas
Open

Enable simple Btrfs quotas#1145
ConnorNelson wants to merge 1 commit into
masterfrom
codex/enable-simple-btrfs-quotas

Conversation

@ConnorNelson

Copy link
Copy Markdown
Member

Summary

  • enable Btrfs simple quota accounting for home storage

Testing

  • sh -n dojo/dojo-init
  • git diff --check

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-04T01:57:25.717658Z d5e924c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d5e924c115

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread dojo/dojo-init
mount "$loop_device" /data/homes
fi
btrfs quota enable /data/homes
btrfs quota enable --simple /data/homes

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Install a btrfs-progs version that supports simple quotas

In the default Ubuntu 24.04 image (Dockerfile:41,53), btrfs-progs resolves to 6.6.3, while the upstream v6.7 changelog introduces “simple quota accounting (squota) support.” On a fresh deployment this command therefore rejects --simple; because dojo-init does not exit on the error, startup continues with quotas disabled, and the checked btrfs qgroup limit call in homefs/btrfs_volume.py:68 then prevents home activation instead of enforcing the documented 1 GiB limit. Upgrade the packaged utility or avoid this option until a supporting version is installed.

AGENTS.md reference: AGENTS.md:L121-L123

Useful? React with 👍 / 👎.

@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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