incubator-nuttx/fs
Bowen Wang 2f9c082f8f fs_epoll: serveral epoll issues fix
1. fs_epoll: try again when epoll_teardown() return 0
when poll_notify() called larger than twice when epoll_wait() blocked
in the eph->sem, the semcount will be larger than 1 when epoll_wait()
unblocked and will return 0 directly at the next epoll_wait.
So retry to wait the eph->sem again when epoll_teardown return 0.

2. fs_epoll: poll_setup the fd again even this fd got non-expected event
Some poll implementations need call poll_setup again when their internal
states changed (e.g., local socket), so should add the fd to the epoll
teardown list and poll_setup again at the next epoll_wait even this fd
got the user non-expected event.

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
2023-11-02 00:44:52 +08:00
..
aio fs/inode: remove all unnecessary check for filep/inode 2023-08-29 09:47:11 +08:00
binfs Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
cromfs Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
driver fs/inode: remove all unnecessary check for filep/inode 2023-08-29 09:47:11 +08:00
fat mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
hostfs cmake:complete missing changes during cmake reforming for fs 2023-09-08 21:20:16 +03:00
inode fs/inode: Change inode_unlink to static function 2023-10-30 10:57:14 +02:00
littlefs cmake:complete missing changes during cmake reforming for fs 2023-09-08 21:20:16 +03:00
mmap Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
mount fs:support zipfs,can mount zipfile 2023-09-27 01:06:04 +08:00
mqueue fs/mqueue: add missing FAR specifier 2023-09-16 14:17:47 +08:00
nfs mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
nxffs Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
partition nxstyle: cleanup UTF-8 Unicode to ASCII 2023-09-18 11:54:17 -04:00
procfs sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
romfs inode/i_private: remove all unnecessary cast for i_private 2023-08-29 08:58:07 +02:00
rpmsgfs Kconfigs: rename {Rpmsg|rpmsg} to RPMGS 2023-10-28 13:58:56 +08:00
semaphore fs/inode: remove all unnecessary check for filep/inode 2023-08-29 09:47:11 +08:00
shm cmake:complete missing changes during cmake reforming for fs 2023-09-08 21:20:16 +03:00
smartfs Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
socket build: add initial cmake build system 2023-07-08 13:50:48 +08:00
spiffs Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
tmpfs mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
unionfs Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
userfs fs/inode: remove all unnecessary check for filep/inode 2023-08-29 09:47:11 +08:00
vfs fs_epoll: serveral epoll issues fix 2023-11-02 00:44:52 +08:00
zipfs fs:support zipfs,can mount zipfile 2023-09-27 01:06:04 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig fs:support zipfs,can mount zipfile 2023-09-27 01:06:04 +08:00
Makefile fs:support zipfs,can mount zipfile 2023-09-27 01:06:04 +08:00
fs_initialize.c add the startup process tracepoint 2023-08-19 21:50:08 +08:00