Hi Jianchao, I just tried it out - it seems to work nicely. Best, Florian On January 30, 2019 2:13:14 AM GMT+01:00, "jianchao.wang" <jianchao.w.wang@xxxxxxxxxx> wrote: >Hi Florian > >On 1/28/19 10:42 AM, jianchao.wang wrote: >> diff --git a/block/blk-flush.c b/block/blk-flush.c >> index a3fc7191..6e0f2d9 100644 >> --- a/block/blk-flush.c >> +++ b/block/blk-flush.c >> @@ -335,7 +335,7 @@ static void mq_flush_data_end_io(struct request >*rq, blk_status_t error) >> blk_flush_complete_seq(rq, fq, REQ_FSEQ_DATA, error); >> spin_unlock_irqrestore(&fq->mq_flush_lock, flags); >> >> - blk_mq_run_hw_queue(hctx, true); >> + blk_mq_sched_restart(hctx); >> } > >Does this patch work ? > >Thanks >Jianchao