diff options
author | 2022-05-13 16:34:28 +0800 | |
---|---|---|
committer | 2022-07-25 17:45:36 +0200 | |
commit | bc88b486d54b2a1ec1f0f40e106f8da4ea3dfb25 (patch) | |
tree | 31c0e693b177c3f610047f6c4d302fc9c39e2a4b /tools/perf/scripts/python | |
parent | btrfs: unify tree search helper returning prev and next nodes (diff) | |
download | linux-dev-bc88b486d54b2a1ec1f0f40e106f8da4ea3dfb25.tar.xz linux-dev-bc88b486d54b2a1ec1f0f40e106f8da4ea3dfb25.zip |
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 <johannes.thumshirn@wdc.com>
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')
0 files changed, 0 insertions, 0 deletions