summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2024-08-27 04:26:51 +0200
committerDavid Sterba <dsterba@suse.com>2024-09-10 16:51:20 +0200
commitdf2825e98507d10cb037a308087ecd7cb3f6688d (patch)
tree31c3fc60e3e44b7f9f5941dfca85fd520c303096 /tools/perf/scripts/python/export-to-postgresql.py
parent11e3107d47cb266a284169f36c2293af3f397fdb (diff)
btrfs: always pass readahead state to defrag
Defrag ioctl passes readahead from the file, but autodefrag does not have a file so the readahead state is allocated when needed. The autodefrag loop in cleaner thread iterates over inodes so we can simply provide an on-stack readahead state and will not need to allocate it in btrfs_defrag_file(). The size is 32 bytes which is acceptable. Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions