Re: [PATCH V4] blk-mq: avoid to starve tag allocation after allocation process migrates

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

 



On 5/24/18 10:52 AM, Omar Sandoval wrote:
> On Thu, May 24, 2018 at 03:49:10PM +0800, Ming Lei wrote:
>> When the allocation process is scheduled back and the mapped hw queue is
>> changed, fake one extra wake up on previous queue for compensating wake up
>> miss, so other allocations on the previous queue won't be starved.
>>
>> This patch fixes one request allocation hang issue, which can be
>> triggered easily in case of very low nr_request.
>>
>> Cc: <stable@xxxxxxxxxxxxxxx>
>> Cc: Omar Sandoval <osandov@xxxxxx>
> 
> Reviewed-by: Omar Sandoval <osandov@xxxxxx>
> 
> The longer explanation you gave would be nice to have in the commit
> message, but maybe Jens can add that when he applies it.

Exactly, I had planned on augmenting the commit message since I don't
think the above really explains it. I'll do that and get it applied.

-- 
Jens Axboe




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux