mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-15 03:24:30 +01:00
For kata containers, rootfs is used in the read-only way. EROFS can noticably decrease metadata overhead. On the basis of supporting the EROFS file system, it supports using the config parameter to switch the file system used by rootfs. Fixes: #6063 Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Signed-off-by: yaoyinnan <yaoyinnan@foxmail.com>
62 lines
1.3 KiB
Plaintext
62 lines
1.3 KiB
Plaintext
# Enable a whole bunch of filesystem related items
|
|
|
|
CONFIG_BLK_DEV_INITRD=y
|
|
|
|
# Recommended for Docker
|
|
CONFIG_BLK_DEV_THROTTLING=y
|
|
|
|
# Required for hotplug block devices into Kata, using SCSI
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BLK_DEV_BSG=y
|
|
CONFIG_BLK_DEV_SD=y
|
|
|
|
# support initial ramdisk
|
|
CONFIG_RD_GZIP=y
|
|
CONFIG_FS_IOMAP=y
|
|
CONFIG_EXT4_FS=y
|
|
CONFIG_EXT4_USE_FOR_EXT2=y
|
|
CONFIG_EXT4_FS_POSIX_ACL=y
|
|
CONFIG_EXT4_FS_SECURITY=y
|
|
# FIXME - do we need journalling support in the container?
|
|
# https://github.com/kata-containers/packaging/issues/483
|
|
CONFIG_JBD2=y
|
|
CONFIG_FS_MBCACHE=y
|
|
CONFIG_XFS_FS=y
|
|
CONFIG_FS_POSIX_ACL=y
|
|
CONFIG_EXPORTFS=y
|
|
CONFIG_EXPORTFS_BLOCK_OPS=y
|
|
CONFIG_FILE_LOCKING=y
|
|
# A bunch of these are required for systemd at least.
|
|
CONFIG_FSNOTIFY=y
|
|
CONFIG_DNOTIFY=y
|
|
CONFIG_INOTIFY_USER=y
|
|
CONFIG_FANOTIFY=y
|
|
CONFIG_AUTOFS4_FS=y
|
|
CONFIG_AUTOFS_FS=y
|
|
CONFIG_TMPFS=y
|
|
CONFIG_DEVTMPFS=y
|
|
CONFIG_DEVTMPFS_MOUNT=y
|
|
CONFIG_MISC_FILESYSTEMS=y
|
|
CONFIG_EROFS_FS=y
|
|
CONFIG_EROFS_FS_XATTR=y
|
|
CONFIG_EROFS_FS_ZIP=y
|
|
CONFIG_EROFS_FS_SECURITY=y
|
|
CONFIG_SIGNALFD=y
|
|
CONFIG_TIMERFD=y
|
|
CONFIG_EPOLL=y
|
|
CONFIG_FHANDLE=y
|
|
|
|
# We should support Async IO.
|
|
CONFIG_AIO=y
|
|
|
|
# Docker in Docker support requires overlay
|
|
CONFIG_OVERLAY_FS=y
|
|
CONFIG_OVERLAY_FS_INDEX=y
|
|
CONFIG_OVERLAY_FS_REDIRECT_DIR=y
|
|
CONFIG_OVERLAY_FS_METACOPY=y
|
|
CONFIG_OVERLAY_FS_XINO_AUTO=y
|
|
|
|
# virtio-fs driver support:
|
|
CONFIG_VIRTIO_FS=y
|
|
CONFIG_FUSE_FS=y
|