[PATCH 03/11] block: remove the BIP_IP_CHECKSUM flag

Martin K. Petersen martin.petersen at oracle.com
Mon Jun 10 05:19:33 PDT 2024


Christoph,

>> This removes the ability to submit an individual I/O using a CRC
>> instead of the IP checksum. There are cases which can't be expressed
>> when the controller is operating in IP checksum mode.
>
> Huh, how?

On the wire between controller and target there's only CRC. If I want to
write a "bad" CRC to disk, I have switch the controller to CRC mode. The
controller can't convert a "bad" IP checksum to a "bad" CRC. The PI test
tooling relies heavily on being able to write "bad" things to disk and
read them back to validate that we detect the error.

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-nvme mailing list