guohao15
|
76a1a5b2c4
|
inotify:fix memory alloc/free not match
Signed-off-by: guohao15 <guohao15@xiaomi.com>
|
2024-08-22 20:25:30 +08:00 |
|
guohao15
|
a69d3d78fe
|
inotify: add filter of notify options to reduce overload of system
Signed-off-by: guohao15 <guohao15@xiaomi.com>
|
2024-08-22 01:50:37 +08:00 |
|
guohao15
|
8731368e45
|
inotify: group g_inotify_xxx global variables into one struct
Signed-off-by: guohao15 <guohao15@xiaomi.com>
|
2024-08-22 01:50:37 +08:00 |
|
guohao15
|
57250a9602
|
inotify: use nx_stat instead of stat
Signed-off-by: guohao15 <guohao15@xiaomi.com>
|
2024-08-22 01:50:37 +08:00 |
|
guohao15
|
bf919afcbd
|
notify:change tempbuffer structure
In rpmsgfs case the old tempbuffer will case deadlock
Signed-off-by: guohao15 <guohao15@xiaomi.com>
|
2024-08-22 01:50:37 +08:00 |
|
guohao15
|
3df638971f
|
notify:do not noitfy when in signal context
Some signal handler may opreate files, that will cause deadlock
when the thread holding file system lock
Signed-off-by: guohao15 <guohao15@xiaomi.com>
|
2024-08-22 01:50:37 +08:00 |
|
guohao15
|
048415f407
|
notify: change inode type check out of the lock
Signed-off-by: guohao15 <guohao15@xiaomi.com>
|
2024-08-22 01:50:37 +08:00 |
|
guohao15
|
25e2d7bef2
|
inotify:add function filter type of inode
only mountpt/driver/pseudodir need inotify
Signed-off-by: guohao15 <guohao15@xiaomi.com>
|
2024-08-22 01:50:37 +08:00 |
|
guohao15
|
68a64c1a4c
|
inotifiy:reduce stack memory used in inotify
Signed-off-by: guohao15 <guohao15@xiaomi.com>
|
2024-08-22 01:50:37 +08:00 |
|
guohao15
|
74963deceb
|
inotify:change log level in case of flood the screen
Signed-off-by: guohao15 <guohao15@xiaomi.com>
|
2024-08-22 01:50:37 +08:00 |
|
guohao15
|
a40a8e17fb
|
fsnotify:fix bug when path="/"
fix crash when queue event to root dir's parent
Signed-off-by: guohao15 <guohao15@xiaomi.com>
|
2024-08-22 01:50:37 +08:00 |
|
guohao15
|
86e00896d3
|
fs:notify add support for inotify
support API: open close read write unlink mkdir rename fchstat rmdir symlink
Signed-off-by: guohao15 <guohao15@xiaomi.com>
|
2024-08-22 01:50:37 +08:00 |
|