Home Home > GIT Browse > SLE15-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2019-02-18 09:36:05 +0100
committerHannes Reinecke <hare@suse.de>2019-02-18 09:36:05 +0100
commite349a7c0d6cc249d6dd8cc653697e181f5a783f9 (patch)
tree4e7431ac11e45429e36d3f904462c3760d61f74f
parent4608ba63d79fbd6626f44d91b90f4d1de9aa83e6 (diff)
blk-mq: fix a hung issue when fsync (bsc#1125252).
-rw-r--r--block/blk-flush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-flush.c b/block/blk-flush.c
index 83b7d5b41c79..7a111e3a49ee 100644
--- a/block/blk-flush.c
+++ b/block/blk-flush.c
@@ -402,7 +402,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);
}
/**