fs: allocate file/socket dynamically

Change-Id: I8aea63eaf0275f47f21fc8d5482b51ffecd5c906
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
Jiuzhu Dong
2021-03-16 20:13:02 +08:00
committed by Xiang Xiao
parent 59eb4fa8d6
commit e96c8b9283
35 changed files with 760 additions and 599 deletions
+4 -4
View File
@@ -1058,12 +1058,12 @@ config SDCLONE_DISABLE
descriptors by task_create() when a new task is started. If
set, all sockets will appear to be closed in the new task.
config NFILE_DESCRIPTORS
int "Maximum number of file descriptors per task"
default 16
config NFILE_DESCRIPTORS_PER_BLOCK
int "The number of file descriptors per block"
default 8
range 3 99999
---help---
The maximum number of file descriptors per task (one for each open)
The number of file descriptors per block(one for each open)
config FILE_STREAM
bool "Enable FILE stream"