summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorBohdan Trach <bohdan.trach@huaweicloud.com>2026-06-15 12:03:29 +0200
committerTheodore Ts'o <tytso@mit.edu>2026-07-21 11:26:39 -0400
commita6a1e7e569dcbf3269b731c05189dbc64532e137 (patch)
treefea5c62d6f7ff72055b1237ea09c5c8bb8baa019 /tools/perf/scripts/python/task-analyzer.py
parent0e364a030229b3b06b858dbe4b7412d87d9d86ce (diff)
ext4: get ext4_group_desc in ext4_mb_prefetch only when necessary
Getting ext4_group_desc structure can contribute to the cost of ext4_mb_prefetch() without any need, as most groups fail the !EXT4_MB_GRP_TEST_AND_SET_READ check. Optimize ext4_mb_prefetch by getting the group description only when necessary. The result is further increase in performance of fallocate() system call path that triggers ext4_mb_prefetch() via a linear group scan. Signed-off-by: Bohdan Trach <bohdan.trach@huaweicloud.com> Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Andreas Dilger <adilger@dilger.ca> Link: https://patch.msgid.link/20260615100331.163997-3-bohdan.trach@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions