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: <b0eee029-4e9e-e522-ddf9-295782d2f934@nvidia.com>
Date:   Wed, 14 Sep 2022 17:19:10 +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>
Subject: Re: [PATCH v13 02/13] block: rearrange
 bdev_{is_zoned,zone_sectors,get_queue} helper in blkdev.h

On 9/12/2022 1:21 AM, Pankaj Raghav wrote:
> Define bdev_is_zoned(), bdev_zone_sectors() and bdev_get_queue() earlier
> in the blkdev.h include file. Simplify bdev_is_zoned() by removing the
> superfluous NULL check for request queue while we are at it.
> 
> This commit has no functional change, and it is a prep patch for allowing
> zoned devices with non-power-of-2 zone sizes in the block layer.
> 
> Signed-off-by: Pankaj Raghav <p.raghav@...sung.com>
> Reviewed-by: Damien Le Moal <damien.lemoal@...nsource.wdc.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