mirror-linux/fs/notify
Jan Kara a05fc7edd9 fsnotify: Use connector list for destroying inode marks
Instead of iterating all inodes belonging to a superblock to find inode
marks and remove them on umount, iterate all inode connectors for the
superblock. This may be substantially faster since there are generally
much less inodes with fsnotify marks than all inodes. It also removes
one use of sb->s_inodes list which we strive to ultimately remove.

Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
2026-01-23 13:26:37 +01:00
..
dnotify fix a leak in fcntl_dirnotify() 2025-07-14 10:13:31 +02:00
fanotify fanotify: convert fanotify_init() to FD_PREPARE() 2025-11-28 12:42:31 +01:00
inotify fsnotify: fix "rewriten"->"rewritten" 2025-09-02 14:37:33 +02:00
Kconfig fs/notify: Remove "select SRCU" 2023-02-02 16:26:06 -08:00
Makefile
fdinfo.c fs/notify: call exportfs_encode_fid with s_umount 2025-10-06 16:31:52 +02:00
fdinfo.h
fsnotify.c fsnotify: Use connector list for destroying inode marks 2026-01-23 13:26:37 +01:00
fsnotify.h fsnotify: Use connector list for destroying inode marks 2026-01-23 13:26:37 +01:00
group.c inotify: Fix possible deadlock in fsnotify_destroy_mark 2024-10-02 15:14:29 +02:00
mark.c fsnotify: Use connector list for destroying inode marks 2026-01-23 13:26:37 +01:00
notification.c fsnotify: Pass group argument to free_event 2021-10-27 12:34:18 +02:00