lkml.org 
[lkml]   [2018]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] blk-mq: mark hctx RESTART when get budget fails
From
Date
Hi Ming

Thanks for your kindly response.

On 04/16/2018 04:15 PM, Ming Lei wrote:
>> - if (!blk_mq_get_dispatch_budget(hctx))
>> + if (!blk_mq_get_dispatch_budget(hctx)) {
>> + blk_mq_sched_mark_restart_hctx(hctx);
> The RESTART flag still may not take into effect if all requests are
> completed before calling blk_mq_sched_mark_restart_hctx().
>

Yes, this is indeed a very tricky scenario.

Sincerely
Jianchao

\
 
 \ /
  Last update: 2018-04-16 10:35    [W:0.021 / U:3.720 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site