diff options
| author | David Sterba <[email protected]> | 2022-06-23 14:57:02 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2022-07-25 15:45:38 +0000 |
| 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 | kernel-ac0677348f3c2373183323f20ccfebe7cb00f9ab.tar.gz kernel-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 <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tests/extent-buffer-tests.c')
0 files changed, 0 insertions, 0 deletions
