lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0daefc87-86d5-e893-19d7-7c018b5e4c51@nvidia.com>
Date:   Wed, 14 Sep 2022 17:19:54 +0000
From:   Chaitanya Kulkarni <chaitanyak@...dia.com>
To:     Pankaj Raghav <p.raghav@...sung.com>, "hch@....de" <hch@....de>,
        "agk@...hat.com" <agk@...hat.com>,
        "damien.lemoal@...nsource.wdc.com" <damien.lemoal@...nsource.wdc.com>,
        "axboe@...nel.dk" <axboe@...nel.dk>,
        "snitzer@...nel.org" <snitzer@...nel.org>
CC:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "Johannes.Thumshirn@....com" <Johannes.Thumshirn@....com>,
        "linux-nvme@...ts.infradead.org" <linux-nvme@...ts.infradead.org>,
        "pankydev8@...il.com" <pankydev8@...il.com>,
        "matias.bjorling@....com" <matias.bjorling@....com>,
        "linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
        "bvanassche@....org" <bvanassche@....org>,
        "gost.dev@...sung.com" <gost.dev@...sung.com>,
        "dm-devel@...hat.com" <dm-devel@...hat.com>,
        "hare@...e.de" <hare@...e.de>,
        "jaegeuk@...nel.org" <jaegeuk@...nel.org>,
        Luis Chamberlain <mcgrof@...nel.org>,
        Adam Manzanares <a.manzanares@...sung.com>
Subject: Re: [PATCH v13 01/13] block: make bdev_nr_zones and disk_zone_no
 generic for npo2 zone size

On 9/12/2022 1:21 AM, Pankaj Raghav wrote:
> Adapt bdev_nr_zones and disk_zone_no functions so that they can
> also work for non-power-of-2 zone sizes.
> 
> As the existing deployments assume that a device zone size is a power of
> 2 number of sectors, power-of-2 optimized calculation is used for those
> devices.
> 
> There are no direct hot paths modified and the changes just
> introduce one new branch per call.
> 
> Reviewed-by: Luis Chamberlain <mcgrof@...nel.org>
> Reviewed-by: Adam Manzanares <a.manzanares@...sung.com>
> Reviewed-by: Hannes Reinecke <hare@...e.de>
> Signed-off-by: Pankaj Raghav <p.raghav@...sung.com>
> Reviewed-by: Bart Van Assche <bvanassche@....org>
> ---


Reviewed-by: Chaitanya Kulkarni <kch@...dia.com>

-ck


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ