Re: [PATCH] block: ensure bdi->io_pages is always initialized

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

 



On 8/31/20 11:43 PM, Christoph Hellwig wrote:
> On Mon, Aug 31, 2020 at 11:23:32AM -0600, Jens Axboe wrote:
>> If a driver leaves the limit settings as the defaults, then we don't
>> initialize bdi->io_pages. This means that file systems may need to
>> work around bdi->io_pages == 0, which is somewhat messy.
>>
>> Initialize the default value just like we do for ->ra_pages.
>>
>> Cc: stable@xxxxxxxxxxxxxxx
> 
> This should be a fixes for the commit originally adding ->io_pages
> instead.

Added that and your reviewed-by, thanks.

-- 
Jens Axboe




[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