fix: enable kernel quota and loop support#779
Merged
Conversation
Contributor
There was a problem hiding this comment.
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.cfgfragment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
kvinwang
enabled auto-merge
July 15, 2026 14:09
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dstack.cfgkernel fragment rather than the Sysbox-specific fragmentTesting
bitbake -c kernel_configcheck virtual/kernelbitbake virtual/kernelCONFIG_QUOTA=y,CONFIG_QFMT_V2=y,CONFIG_QUOTA_TREE=y,CONFIG_QUOTACTL=y, andCONFIG_BLK_DEV_LOOP=yFixes Dstack-TEE/meta-dstack#80