lkml.org 
[lkml]   [2018]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [REGRESSION] bfq probe failed on 4.19-rc3
From
Date
On 9/11/18 10:48 AM, Jeff Moyer wrote:
> Jens Axboe <axboe@kernel.dk> writes:
>
>> On 9/11/18 10:03 AM, Takashi Iwai wrote:
>>> Hi,
>>>
>>> I noticed that bfq doesn't appear in the I/O scheduler list on
>>> 4.19-rc3. It seems that blkcg_policy_register() at the beginning of
>>> bfq_init() returns -ENOSPC, hence the probe aborts silently.
>>>
>>> Is this already addressed?
>>
>> Haven't heard about this one before. What kernel did you last use that
>> worked?
>
> I'm guessing you just need to update the maximum number of policies:
>
> /*
> * Maximum number of blkcg policies allowed to be registered concurrently.
> * Defined here to simplify include dependency.
> */
> #define BLKCG_MAX_POLS 3

That is my guess too, hence the suggestion to try and disable the
iolatency policy. Just tried here without, and it works, rebooting
with to verify that we're running out of policy slots.

--
Jens Axboe

\
 
 \ /
  Last update: 2018-09-11 18:49    [W:0.115 / U:1.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site