Re: [PATCH v3] lib/raid/xor: x86: Add AVX-512 optimized xor_gen()

From: Christoph Hellwig

Date: Thu Jun 18 2026 - 05:25:26 EST


On Wed, Jun 17, 2026 at 11:05:16AM +0100, David Laight wrote:
> > FYI, one or 2 sources are basically useless as they RAID5 configs
> > that have no benefits over simple mirroring and thus the numbers
> > aren't too interesting.
>
> With three disks you xor two buffers (src_count == 1) to get the parity
> to write to the third - so that is a valid RAID5 config.

Sure. It did not say it is invalid, it just isn't very useful.