diff options
| author | Qu Wenruo <[email protected]> | 2022-05-13 16:34:28 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-07-25 17:45:36 +0200 |
| commit | bc88b486d54b2a1ec1f0f40e106f8da4ea3dfb25 (patch) | |
| tree | 31c0e693b177c3f610047f6c4d302fc9c39e2a4b /tools/perf/scripts/python | |
| parent | 9db33891c79dde09384ed56a0670a02648d8ce05 (diff) | |
btrfs: remove parameter dev_extent_len from scrub_stripe()
For scrub_stripe() we can easily calculate the dev extent length as we
have the full info of the chunk.
Thus there is no need to pass @dev_extent_len from the caller, and we
introduce a helper, btrfs_calc_stripe_length(), to do the calculation
from extent_map structure.
Reviewed-by: Johannes Thumshirn <[email protected]>
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')
0 files changed, 0 insertions, 0 deletions