aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2023-06-27 15:34:31 +0800
committerDavid Sterba <[email protected]>2023-08-21 14:52:12 +0200
commited3764f726b24099396734aa1a5b41ae7e0fac60 (patch)
treed7b6cb0051189e5c3779c31a4810b2e8428f0701 /tools/perf/scripts/python/task-analyzer.py
parent966de47ff0c9e64d74e1719e4480b7c34f6190fa (diff)
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 <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions