lkml.org 
[lkml]   [2022]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH 06/16] nvmet: use blk_queue_zone_no()
    From
    On 4/27/22 09:02, Pankaj Raghav wrote:
    > From: Luis Chamberlain <mcgrof@kernel.org>
    >
    > Instead of open coding the number of zones given a sector, use the helper
    > 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.
    >
    > Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
    > Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
    > ---
    > drivers/nvme/target/zns.c | 2 +-
    > 1 file changed, 1 insertion(+), 1 deletion(-)
    >
    Reviewed-by: Hannes Reinecke <hare@suse.de>

    Cheers,

    Hannes
    --
    Dr. Hannes Reinecke Kernel Storage Architect
    hare@suse.de +49 911 74053 688
    SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
    HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer

    \
     
     \ /
      Last update: 2022-05-04 19:52    [W:2.935 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site