aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2023-06-27 15:34:31 +0800
committerDavid Sterba <dsterba@suse.com>2023-08-21 14:52:12 +0200
commited3764f726b24099396734aa1a5b41ae7e0fac60 (patch)
treed7b6cb0051189e5c3779c31a4810b2e8428f0701 /tools/perf/scripts/python/export-to-sqlite.py
parentbtrfs: remove redundant initialization of variables in log_new_ancestors (diff)
downloadlinux-ed3764f726b24099396734aa1a5b41ae7e0fac60.tar.gz
linux-ed3764f726b24099396734aa1a5b41ae7e0fac60.zip
btrfs: add comments for btrfs_map_block()
The function btrfs_map_block() is a critical part of the btrfs storage layer, which handles mapping of logical ranges to physical ranges. Thus it's better to have some basic explanation, especially on the following points: - Segment split by various boundaries As a continuous logical range may be split into different segments, due to various factors like zones and RAID0/5/6/10 boundaries. - The meaning of @mirror_num - The possible single stripe optimization - One deprecated parameter @need_raid_map Just explicitly mark it deprecated so we're aware of the problem. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions