[PATCH 06/16] nvmet: use blk_queue_zone_no()

Bart Van Assche bvanassche at acm.org
Tue May 3 09:54:13 PDT 2022


On 4/27/22 09:02, Pankaj Raghav wrote:
> From: Luis Chamberlain <mcgrof at kernel.org>
> 
> Instead of open coding the number of zones given a sector, use the helper
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I can't parse this. Please rephrase this.

> blk_queue_zone_no(). This let's us make modifications to the math if
> needed in one place and adds now support for npo2 zone devices.

But since the code looks fine:

Reviewed-by: Bart Van Assche <bvanassche at acm.org>



More information about the Linux-nvme mailing list