[PATCH blktests] block tests: nvme metadata passthrough
Anuj gupta
anuj1072538 at gmail.com
Thu Jun 5 18:41:20 PDT 2025
> + /* this should directly use the user space buffer */
> + meta = mptr;
> + cmd = (struct nvme_passthru_cmd) {
> + .opcode = 1,
> + .nsid = 1,
Minor nit: should use `.nsid = nsid` instead of hardcoded `1`
> + /* This should not be mappable for write commands */
Maybe reword this to:
/* This buffer is read-only, so using it for write passthrough should fail */
-- makes the intent clearer.
--
Anuj Gupta
More information about the Linux-nvme
mailing list