mirror of
https://abf.rosa.ru/djam/kernel-5.10.git
synced 2025-02-25 09:42:49 +00:00
21 lines
661 B
Diff
21 lines
661 B
Diff
![]() |
http://bugs.rosalinux.ru/show_bug.cgi?id=4791
|
||
|
|
||
|
It seems, many applications need max_user_watches to be at least 32768.
|
||
|
Let us set the default value of this parameter accordingly.
|
||
|
|
||
|
Signed-off-by: Eugene A. Shatokhin <eugene.shatokhin@rosalab.ru>
|
||
|
|
||
|
diff --git a/fs/notify/inotify/inotify_user.c b/fs/notify/inotify/inotify_user.c
|
||
|
index 78a2ca3..ecd1120 100644
|
||
|
--- a/fs/notify/inotify/inotify_user.c
|
||
|
+++ b/fs/notify/inotify/inotify_user.c
|
||
|
@@ -809,7 +809,7 @@ static int __init inotify_user_setup(void)
|
||
|
|
||
|
inotify_max_queued_events = 16384;
|
||
|
inotify_max_user_instances = 128;
|
||
|
- inotify_max_user_watches = 8192;
|
||
|
+ inotify_max_user_watches = 32768;
|
||
|
|
||
|
return 0;
|
||
|
}
|