From ded65748725c76e91857a51e674325b6d4e6b0aa Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Wed, 15 Jul 2026 07:04:09 -0700 Subject: [PATCH] fix: enable kernel quota and loop support --- .../meta-dstack/recipes-kernel/linux/files/dstack.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/os/yocto/layers/meta-dstack/recipes-kernel/linux/files/dstack.cfg b/os/yocto/layers/meta-dstack/recipes-kernel/linux/files/dstack.cfg index 54eacd7fc..ded3ae3ba 100644 --- a/os/yocto/layers/meta-dstack/recipes-kernel/linux/files/dstack.cfg +++ b/os/yocto/layers/meta-dstack/recipes-kernel/linux/files/dstack.cfg @@ -19,6 +19,14 @@ CONFIG_ISO9660_FS=y CONFIG_WIREGUARD=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_TMPFS_XATTR=y + +# Enforce per-directory limits on shared ext4 data disks. +CONFIG_QUOTA=y +CONFIG_QFMT_V2=y + +# Support filesystem images used to isolate workload storage. +CONFIG_BLK_DEV_LOOP=y + CONFIG_NR_CPUS=512 # BPF