The hunks of "btrfs: stripe_alloc: skip RAID5/6 groups that are mapped
as RAID1/RAID1C3" (earlier in this series) that need code from "btrfs:
stripe_meta: allocate tree blocks by whole stripes", which comes after
it in this series: they are applied here, once "btrfs: stripe_meta:
allocate tree blocks by whole stripes" is in, instead of with the rest
of "btrfs: stripe_alloc: skip RAID5/6 groups that are mapped as
RAID1/RAID1C3".
Assisted-by: Claude:claude-opus-5-5
return btrfs_test_opt(bg->fs_info, STRIPE_ALLOC) &&
(bg->flags & BTRFS_BLOCK_GROUP_METADATA) &&
!(bg->flags & BTRFS_BLOCK_GROUP_DATA) &&
- (bg->flags & BTRFS_BLOCK_GROUP_RAID56_MASK);
+ (bg->flags & BTRFS_BLOCK_GROUP_RAID56_MASK) &&
+ !test_bit(BLOCK_GROUP_FLAG_RAID56_MIRRORED, &bg->runtime_flags);
}
/*