Skip to content

fix: enable kernel quota and loop support#779

Merged
kvinwang merged 1 commit into
masterfrom
fix/meta-dstack-issue-80
Jul 15, 2026
Merged

fix: enable kernel quota and loop support#779
kvinwang merged 1 commit into
masterfrom
fix/meta-dstack-issue-80

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

Summary

  • enable VFS quota and v2 quota format support for ext4 project quotas
  • build the loop block driver into the kernel for filesystem-image workloads
  • keep both generic facilities in the base dstack.cfg kernel fragment rather than the Sysbox-specific fragment

Testing

  • bitbake -c kernel_configcheck virtual/kernel
  • bitbake virtual/kernel
  • verified the generated kernel config contains CONFIG_QUOTA=y, CONFIG_QFMT_V2=y, CONFIG_QUOTA_TREE=y, CONFIG_QUOTACTL=y, and CONFIG_BLK_DEV_LOOP=y

Fixes Dstack-TEE/meta-dstack#80

Copilot AI review requested due to automatic review settings July 15, 2026 14:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Yocto kernel configuration fragment (dstack.cfg) to ensure quota support needed for ext4 project quotas and to build the loop block device driver into the kernel, supporting filesystem-image-based workload storage.

Changes:

  • Enable kernel quota support (CONFIG_QUOTA=y) and v2 quota format support (CONFIG_QFMT_V2=y) to support ext4 project quotas.
  • Build the loop block driver into the kernel (CONFIG_BLK_DEV_LOOP=y) for filesystem-image workloads.
  • Keep these generic capabilities in the base dstack.cfg fragment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kvinwang
kvinwang enabled auto-merge July 15, 2026 14:09
@kvinwang
kvinwang merged commit 913bd61 into master Jul 15, 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.

kernel: enable CONFIG_QUOTA/CONFIG_QFMT_V2 (+ optionally loop) for multi-tenant Sysbox workloads

2 participants