[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c2269e99-b832-1c00-a08b-14af3be4d76b@acm.org>
Date: Wed, 15 Jun 2022 13:18:31 -0700
From: Bart Van Assche <bvanassche@....org>
To: Pankaj Raghav <p.raghav@...sung.com>, hch@....de,
snitzer@...hat.com, damien.lemoal@...nsource.wdc.com,
axboe@...nel.dk
Cc: pankydev8@...il.com, gost.dev@...sung.com,
jiangbo.365@...edance.com, linux-nvme@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
dm-devel@...hat.com, jonathan.derrick@...ux.dev,
Johannes.Thumshirn@....com, dsterba@...e.com, jaegeuk@...nel.org,
Luis Chamberlain <mcgrof@...nel.org>
Subject: Re: [dm-devel] [PATCH v7 01/13] block: make blkdev_nr_zones and
blk_queue_zone_no generic for npo2 zsze
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@....org>
Powered by blists - more mailing lists