diff options
| author | Nikolay Borisov <[email protected]> | 2020-04-03 16:40:34 +0300 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-07-27 12:55:20 +0200 |
| commit | 9e22b925985e71c6acf0dba03f9b99a56806a137 (patch) | |
| tree | 3c2e7d246b3aa04376f15ec1dfbd4045165cc3e1 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 6a3c7f5c87854e948c3c234e5f5e745c7c553722 (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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions