Re: [PATCH] block: Fix null_blk_zoned creation failure with small number of zones

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2018/12/12 8:19, Jens Axboe wrote:
> On 12/11/18 3:55 PM, Damien Le Moal wrote:
>> On 2018/12/11 22:44, Jens Axboe wrote:
>>> On 12/11/18 5:08 AM, Shin'ichiro Kawasaki wrote:
>>>> null_blk_zoned creation fails if the number of zones specified is equal to or is
>>>> smaller than 64 due to a memory allocation failure in blk_alloc_zones(). With
>>>> such a small number of zones, the required memory size for all zones descriptors
>>>> fits in a single page, and the page order for alloc_pages_node() is zero. Allow
>>>> this value in blk_alloc_zones() for the allocation to succeed.
>>>
>>> Looks good to me, this looks like 4.20 material.
>>
>> Yes, this is a fix for commit bf5054569653 "block: Introduce
>> blk_revalidate_disk_zones()" that was included in 4.20 merge window.
> 
> If only the patch already had a Fixes tag!

Yes, sorry about that. I told Shinichiro to not forget adding it.

> Queued up for 4.20.

Thank you.

-- 
Damien Le Moal
Western Digital Research




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux