lkml.org 
[lkml]   [2022]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [dm-devel] [PATCH v7 01/13] block: make blkdev_nr_zones and blk_queue_zone_no generic for npo2 zsze
    From
    On 6/15/22 03:19, Pankaj Raghav wrote:
    > Adapt blkdev_nr_zones and blk_queue_zone_no function so that it can
    > also work for non-power-of-2 zone sizes.
    >
    > As the existing deployments of zoned devices had power-of-2
    > assumption, power-of-2 optimized calculation is kept for those devices.
    >
    > There are no direct hot paths modified and the changes just
    > introduce one new branch per call.
    Reviewed-by: Bart Van Assche <bvanassche@acm.org>

    \
     
     \ /
      Last update: 2022-06-15 22:20    [W:4.213 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site