[PATCH 1/2] blk-integrity: add rq_integrity_payload_size helper

hch at lst.de hch at lst.de
Tue Apr 11 23:53:07 PDT 2023


> +	if (WARN_ON_ONCE(queue_max_integrity_segments(rq->q) > 1))
> +		return 0;

This should work for multiple segments as well.



More information about the Linux-nvme mailing list