diff options
| author | 2022-06-23 16:57:02 +0200 | |
|---|---|---|
| committer | 2022-07-25 17:45:38 +0200 | |
| commit | ac0677348f3c2373183323f20ccfebe7cb00f9ab (patch) | |
| tree | b5a1b1284c18d2545ce2ba65dc8aebfa8246b38d /fs/btrfs/tests/extent-buffer-tests.c | |
| parent | btrfs: use mask for all RAID1* profiles in btrfs_calc_avail_data_space (diff) | |
| download | linux-dev-ac0677348f3c2373183323f20ccfebe7cb00f9ab.tar.xz linux-dev-ac0677348f3c2373183323f20ccfebe7cb00f9ab.zip | |
btrfs: merge calculations for simple striped profiles in btrfs_rmap_block
Use the same expression for stripe_nr for RAID0 (map->sub_stripes is 1)
and RAID10 (map->sub_stripes is 2), with equivalent results.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tests/extent-buffer-tests.c')
0 files changed, 0 insertions, 0 deletions
