[RFC 0/3] Btrfs checksum offload
Keith Busch
kbusch at kernel.org
Wed Jan 29 10:03:36 PST 2025
On Wed, Jan 29, 2025 at 04:40:25PM +0100, Christoph Hellwig wrote:
> >
> > Another potential benefit: if the device does the checksum, then I think
> > btrfs could avoid the stable page writeback overhead and let the
> > contents be changable all the way until it goes out on the wire.
>
> If the device generates the checksum (aka DIF insert) that problem goes
> away. But we also lose integrity protection over the wire, which would
> be unfortunate.
If the "wire" is only PCIe, I don't see why it matters. What kind of
wire corruption gets undetected by the protocol's encoding and LCRC that
would get caught by the host's CRC payload?
More information about the Linux-nvme
mailing list