kernel_samsung_a53x/fs/notify
Amir Goldstein 5746d65a70 fanotify: mix event info and pid into merge key hash
[ Upstream commit 7e3e5c6943994943eb76cab2d3a1806bc10b9045 ]

Improve the merge key hash by mixing more values relevant for merge.

For example, all FAN_CREATE name events in the same dir used to have the
same merge key based on the dir inode.  With this change the created
file name is mixed into the merge key.

The object id that was used as merge key is redundant to the event info
so it is no longer mixed into the hash.

Permission events are not hashed, so no need to hash their info.

Link: https://lore.kernel.org/r/20210304104826.3993892-4-amir73il@gmail.com
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:36 +01:00
..
dnotify file: Rename fcheck lookup_fd_rcu 2024-11-19 12:27:27 +01:00
fanotify fanotify: mix event info and pid into merge key hash 2024-11-19 12:27:36 +01:00
inotify fanotify: reduce event objectid to 29-bit hash 2024-11-19 12:27:36 +01:00
fdinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fdinfo.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsnotify.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
fsnotify.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
group.c inotify, memcg: account inotify instances to kmemcg 2024-11-19 12:27:32 +01:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mark.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
notification.c fsnotify: allow fsnotify_{peek,remove}_first_event with empty queue 2024-11-19 12:27:36 +01:00