d6423b5527
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>
31 lines
677 B
Plaintext
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
|