Re: [PATCH 11/13] btrfs: open code set_io_stripe for RAID56

From: Christoph Hellwig
Date: Wed Dec 13 2023 - 03:58:43 EST


On Tue, Dec 12, 2023 at 04:38:09AM -0800, Johannes Thumshirn wrote:
> Open code set_io_stripe() for RAID56, as it a) uses a different method to
> calculate the stripe_index and b) doesn't need to go through raid-stripe-tree
> mapping code.

Looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

I think raid stripe tree handling also really should move out of
set_io_stripe. Below is the latest I have, although it probably won't
apply to your tree:

---