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) <wi...@infradead.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.kulka...@wdc.com>

Reply via email to