summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2024-11-15 18:30:16 +0300
committerJan Kara <jack@suse.cz>2024-12-10 14:03:16 +0300
commit318652e07fa5b1743d08eeccd69a1f47f2c15710 (patch)
tree368f2283af2d2a436bf73a8e24ad7f9f9779ea1e /tools/perf/scripts/python/export-to-postgresql.py
parenta94204f4d48e28a711b7ed10399f749286c433e3 (diff)
downloadlinux-318652e07fa5b1743d08eeccd69a1f47f2c15710.tar.xz
fsnotify: check if file is actually being watched for pre-content events on open
So far, we set FMODE_NONOTIFY_ flags at open time if we know that there are no permission event watchers at all on the filesystem, but lack of FMODE_NONOTIFY_ flags does not mean that the file is actually watched. For pre-content events, it is possible to optimize things so that we don't bother trying to send pre-content events if file was not watched (through sb, mnt, parent or inode itself) on open. Set FMODE_NONOTIFY_ flags according to that. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz> Link: https://patch.msgid.link/2ddcc9f8d1fde48d085318a6b5a889289d8871d8.1731684329.git.josef@toxicpanda.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions