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]
Date:   Fri, 26 Feb 2021 20:50:21 +0000
From:   Chaitanya Kulkarni <Chaitanya.Kulkarni@....com>
To:     Matthew Wilcox <willy@...radead.org>,
        "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
        "linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
        Jens Axboe <axboe@...nel.dk>
CC:     "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Christoph Hellwig <hch@....de>
Subject: Re: [PATCH v2] block: Add bio_max_segs

On 2/26/21 12:39, Matthew Wilcox wrote:
> This seems to have missed the merge window ;-(
>
> On Fri, Jan 29, 2021 at 04:38:57AM +0000, Matthew Wilcox (Oracle) wrote:
>> It's often inconvenient to use BIO_MAX_PAGES due to min() requiring the
>> sign to be the same.  Introduce bio_max_segs() and change BIO_MAX_PAGES to
>> be unsigned to make it easier for the users.
>>
>> Signed-off-by: Matthew Wilcox (Oracle) <willy@...radead.org>
>> ---
>> v2:
>>  - Rename from bio_limit() to bio_max_segs()
>>  - Rebase on next-20210128
>>  - Use DIV_ROUND_UP in dm-log-writes.c
>>  - Use DIV_ROUND_UP in iomap/buffered-io.c
Looks good.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@....com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ