Re: [PATCH 21/25] xor: add a better public API
Christoph Hellwig <[email protected]>
| Newsgroups | gmane.linux.uml.devel,gmane.linux.ports.alpha,gmane.linux.kernel,gmane.linux.ports.arm.kernel,gmane.linux.ports.ppc64.devel,gmane.linux.ports.riscv,gmane.linux.ports.sparc,gmane.linux.kernel.cryptoapi,gmane.comp.file-systems.btrfs,gmane.linux.kernel.cross-arch,gmane.linux.raid |
|---|---|
| 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.