blk-mq: use blk_mq_sched_mark_restart_hctx to set RESTART
authorYufen Yu <yuyufen@huawei.com>
Fri, 15 Mar 2019 03:05:10 +0000 (11:05 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Mar 2019 14:14:51 +0000 (08:14 -0600)
commit684b73245cd4d2608f4f2214f6bff02ba6ceca5f
tree7ddad4914e8711a358a9359bfd1d59113f0fdcd8
parent81b74ac68c28fddb3589ad5d4d5e587baf4bb781
blk-mq: use blk_mq_sched_mark_restart_hctx to set RESTART

Let blk_mq_mark_tag_wait() use the blk_mq_sched_mark_restart_hctx()
to set BLK_MQ_S_SCHED_RESTART.

Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c