Re: [BUG] Potential deadlock in the block layer

From: Jens Axboe
Date: Thu Feb 16 2017 - 09:56:24 EST


On 02/16/2017 07:35 AM, Thomas Gleixner wrote:
> On Mon, 13 Feb 2017, Jens Axboe wrote:
>
>> On 02/13/2017 07:14 AM, Thomas Gleixner wrote:
>>> Gabriel reported the lockdep splat below while investigating something
>>> different.
>>>
>>> Explanation for the splat is in the function comment above
>>> del_timer_sync().
>>>
>>> I can reproduce it as well and it's clearly broken.
>>
>> Agree, the disable logic is broken. The below isn't super pretty, but it
>> should do the trick for 4.10.
>
> Cures the splat. Is that a new 4.10 'feature'? That wbt stuff has been
> merged a few releases ago.

OK good, I'll get this submitted for 4.10. wbt is a new feature in
this release.

--
Jens Axboe