Re: [PATCH v3 0/4] btrfs: RAID stripe tree updates

From: David Sterba
Date: Wed Oct 04 2023 - 09:21:40 EST


On Wed, Oct 04, 2023 at 12:56:15AM -0700, Johannes Thumshirn wrote:
> This batch of RST updates contains the on-disk format changes Qu
> suggested. It drastically simplifies the write and path, especially for
> RAID10.
>
> Instead of recording all strides of a striped RAID into one stripe tree
> entry, we create multiple entries per stride. This allows us to remove the
> length in the stride as we can use the length from the key. Using this
> method RAID10 becomes RAID1 and RAID0 becomes single from the point of
> view of the stripe tree.
>
> ---
> - Link to first batch: https://lore.kernel.org/r/20230918-rst-updates-v1-0-17686dc06859@xxxxxxx
> - Link to second batch: https://lore.kernel.org/r/20230920-rst-updates-v2-0-b4dc154a648f@xxxxxxx
>
> ---
> Johannes Thumshirn (4):
> btrfs: change RST write
> btrfs: remove stride length check on read
> btrfs: remove raid stride length in tree printer
> btrfs: remove stride length from on-disk format

Folded to the commits, thanks.