summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2024-11-15 18:30:27 +0300
committerJan Kara <jack@suse.cz>2024-12-10 14:03:17 +0300
commitfac84846a28c0950d4433118b3dffd44306df62d (patch)
treea5f4e5ac49665b0aabdf8c00ac0881d2f2380340 /tools/perf/scripts/python/export-to-postgresql.py
parentb4b2ff4f61ded819bfa22e50fdec7693f51cbbee (diff)
downloadlinux-fac84846a28c0950d4433118b3dffd44306df62d.tar.xz
fanotify: disable readahead if we have pre-content watches
With page faults we can trigger readahead on the file, and then subsequent faults can find these pages and insert them into the file without emitting an fanotify event. To avoid this case, disable readahead if we have pre-content watches on the file. This way we are guaranteed to get an event for every range we attempt to access on a pre-content watched file. Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Jan Kara <jack@suse.cz> Link: https://patch.msgid.link/70a54e859f555e54bc7a47b32fe5aca92b085615.1731684329.git.josef@toxicpanda.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions