aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <[email protected]>2021-10-25 16:27:19 -0300
committerJan Kara <[email protected]>2021-10-27 12:33:04 +0200
commitcc53b55f697fe5aa98bdbfdfe67c6401da242155 (patch)
tree6ce7d9236799c5e7b458cf48b63b1952724f20c3 /tools/perf/scripts/python/export-to-sqlite.py
parentdabe729dddca550446e9cc118c96d1f91703345b (diff)
fsnotify: Don't insert unmergeable events in hashtable
Some events, like the overflow event, are not mergeable, so they are not hashed. But, when failing inside fsnotify_add_event for lack of space, fsnotify_add_event() still calls the insert hook, which adds the overflow event to the merge list. Add a check to prevent any kind of unmergeable event to be inserted in the hashtable. Fixes: 94e00d28a680 ("fsnotify: use hash table for faster events merge") Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Amir Goldstein <[email protected]> Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Gabriel Krisman Bertazi <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions