xiaoxiang781216 commented on code in PR #20820:
URL: https://github.com/apache/nuttx/pull/20820#discussion_r4349953248
##########
fs/Kconfig:
##########
@@ -17,6 +17,25 @@ config DISABLE_MOUNTPOINT
bool "Disable support for mount points"
default n
+config FS_DIRENT_LITE
+ bool "Lightweight directory operations"
+ default n
+ depends on BUILD_FLAT
+ ---help---
+ Enable a lightweight directory implementation where opendir(),
+ readdir(), and closedir() bypass file descriptor allocation,
+ the synthetic directory inode, and vectored I/O. This
significantly
+ reduces code footprint (by ~2 KB) on memory-constrained systems.
Review Comment:
can we option out vector I/O? since nx_xxxdir api is close to dir_xxx,.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]