[PATCHv4 06/10] block: provide helper for nr_integrity_segments

Christoph Hellwig hch at lst.de
Thu Sep 12 00:44:07 PDT 2024


On Wed, Sep 11, 2024 at 01:12:36PM -0700, Keith Busch wrote:
> From: Keith Busch <kbusch at kernel.org>
> 
> Provide an integrity equivalent to blk_rq_nr_phys_segments().

Now that the field is unconditional the helper seems a bit pointless.
blk_rq_nr_phys_segments is mostly need for the special payload magic
for discard.




More information about the Linux-nvme mailing list