diff options
| author | Qu Wenruo <[email protected]> | 2022-05-13 16:34:29 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-07-25 17:45:36 +0200 |
| commit | 6dead96c1a1e091e78ee80a2484279c3861c60d8 (patch) | |
| tree | f7897d3b99b723788e57cd6391de95c557620d53 /tools/perf/scripts/python | |
| parent | bc88b486d54b2a1ec1f0f40e106f8da4ea3dfb25 (diff) | |
btrfs: use btrfs_chunk_max_errors() to replace tolerance calculation
In __btrfs_map_block() we have an assignment to @max_errors using
nr_parity_stripes().
Although it works for RAID56 it's confusing. Replace it with
btrfs_chunk_max_errors().
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