aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNikolay Borisov <[email protected]>2020-04-03 16:40:34 +0300
committerDavid Sterba <[email protected]>2020-07-27 12:55:20 +0200
commit9e22b925985e71c6acf0dba03f9b99a56806a137 (patch)
tree3c2e7d246b3aa04376f15ec1dfbd4045165cc3e1 /tools/perf/scripts/python
parent6a3c7f5c87854e948c3c234e5f5e745c7c553722 (diff)
btrfs: read stripe len directly in btrfs_rmap_block
extent_map::orig_block_len contains the size of a physical stripe when it's used to describe block groups (calculated in read_one_chunk via calc_stripe_length or calculated in decide_stripe_size and then assigned to extent_map::orig_block_len in create_chunk). Exploit this fact to get the size directly rather than opencoding the calculations. No functional changes. Signed-off-by: Nikolay Borisov <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions