Re: [PATCH 21/25] xor: add a better public API
Christoph Hellwig <[email protected]>
| Newsgroups | org.kernel.vger.sparclinux,dev.linux.lists.loongarch,org.infradead.lists.linux-riscv,org.infradead.lists.linux-um,org.kernel.vger.linux-alpha,org.kernel.vger.linux-arch,org.kernel.vger.linux-btrfs,org.kernel.vger.linux-crypto,org.kernel.vger.linux-kernel,org.kernel.vger.linux-raid,org.kernel.vger.linux-s390,org.ozlabs.lists.linuxppc-dev |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Feb 27, 2026 at 10:50:38PM -0800, Eric Biggers wrote: > The alignment requirements on the vectors should be documented, as > should which values of bytes are accepted. It looks like, at the very > least, the vectors have to be 32-byte aligned and the length has to be a > nonzero multiple of 512 bytes. But I didn't check every implementation. That would match the original use case in the md raid code and also in file system uses such as btrfs, yes.