aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorKemeng Shi <shikemeng@huaweicloud.com>2023-02-21 19:59:15 +0800
committerTheodore Ts'o <tytso@mit.edu>2023-03-23 23:00:08 -0400
commita38627f14356f505f621b31197fd872b99a10563 (patch)
tree12ed6baea75345034230de272ad47896b11ae6ca /tools/perf/scripts/python/flamegraph.py
parentext4: correct validation check of inode table in ext4_valid_block_bitmap (diff)
downloadlinux-a38627f14356f505f621b31197fd872b99a10563.tar.gz
linux-a38627f14356f505f621b31197fd872b99a10563.zip
ext4: call ext4_bg_num_gdb_[no]meta directly in ext4_num_base_meta_clusters
ext4_num_base_meta_clusters is already aware of meta_bg feature and test if block_group is inside real meta block groups before calling ext4_bg_num_gdb. Then ext4_bg_num_gdb will check if block group is inside a real meta block groups again to decide either ext4_bg_num_gdb_meta or ext4_bg_num_gdb_nometa is needed. Call ext4_bg_num_gdb_meta or ext4_bg_num_gdb_nometa directly after we check if block_group is inside a meta block groups in ext4_num_base_meta_clusters to remove redundant check of meta block groups in ext4_bg_num_gdb. Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Link: https://lore.kernel.org/r/20230221115919.1918161-4-shikemeng@huaweicloud.com Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions