nuttx/fs/romfs/Kconfig
Jiuzhu Dong d6423b5527 romfs: expand file cache by CONFIG_FS_ROMFS_FCACHE_NSECTORS
The default size of file cache is size of a sector, it may
not be good size for optimizing read/write speed in physical
device. So we can set the config according to speed test profile
to optimize access IO speed.

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2022-10-24 20:49:09 +08:00

31 lines
677 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config FS_ROMFS
bool "ROMFS file system"
default n
depends on !DISABLE_MOUNTPOINT
---help---
Enable ROMFS filesystem support
if FS_ROMFS
config FS_ROMFS_CACHE_NODE
bool "Enable cache node of ROMFS file system"
default !DEFAULT_SMALL
---help---
All node will be cached to ram when file system
is mounted so that we can quick access entry of ROMFS
filesystem on emmc/sdcard.
config FS_ROMFS_CACHE_FILE_NSECTORS
int "The number of file cache sector"
range 1 256
default 1
---help---
The number of file cache sector
endif