summaryrefslogtreecommitdiff
path: root/include/linux/fsnotify_backend.h
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2021-03-04 12:48:24 +0200
committerJan Kara <jack@suse.cz>2021-03-16 16:15:23 +0100
commit7e3e5c6943994943eb76cab2d3a1806bc10b9045 (patch)
treef44e88b4f466c39a6677bdb6a4c372ee1d48d34c /include/linux/fsnotify_backend.h
parent8988f11abb820bacfcc53d498370bfb30f792ec4 (diff)
fanotify: mix event info and pid into merge key hash
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>
Diffstat (limited to 'include/linux/fsnotify_backend.h')
0 files changed, 0 insertions, 0 deletions