[Lsf-pc] [LSF/MM/BPF ATTEND][LSF/MM/BPF TOPIC] Meta/Integrity/PI improvements

Martin K. Petersen martin.petersen at oracle.com
Wed Mar 27 17:30:31 PDT 2024


Hi Kanchan!

> Not sure how far it is from the requirements you may have. Feedback
> will help. Perhaps the interface needs the ability to tell what kind
> of checks (guard, apptag, reftag) are desired. Doable, but that will
> require the introduction of three new RWF_* flags.

I'm working on getting my test tooling working with your series. But
yes, I'll definitely need a way to set the bip flags.

> Right. This can work for the case when host does not need to pass the
> buffer (meta-size is equal to pi-size). But when meta-size is greater
> than pi-size, the meta-buffer needs to be allocated. Some changes are
> required so that Block-integrity does that allocation, without having
> to do read_verify/write_generate.

Not sure I follow. Do you want the non-PI metadata to be passed in from
userland but the kernel or controller to generate the PI?

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-nvme mailing list