diff options
author | Josef Bacik <josef@toxicpanda.com> | 2024-11-15 18:30:31 +0300 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2024-12-11 19:28:41 +0300 |
commit | b722e40be2bda7a688f74e1a794121e84f717fdc (patch) | |
tree | aebad1a29931d8fe7e9b56876e665a92d552ac2a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7f4796a46571ced5d3d5b0942e1bfea1eedaaecd (diff) | |
download | linux-b722e40be2bda7a688f74e1a794121e84f717fdc.tar.xz |
btrfs: disable defrag on pre-content watched files
We queue up inodes to be defrag'ed asynchronously, which means we do not
have their original file for readahead. This means that the code to
skip readahead on pre-content watched files will not run, and we could
potentially read in empty pages.
Handle this corner case by disabling defrag on files that are currently
being watched for pre-content events.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/4cc5bcea13db7904174353d08e85157356282a59.1731684329.git.josef@toxicpanda.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions