提交 6700a678 编写于 作者: J Jens Axboe

blk-mq: kill preempt disable/enable in blk_mq_work_fn()

blk_mq_work_fn() is always invoked off the bounded workqueues,
so it can happily preempt among the queues in that set without
causing any issues for blk-mq.
Signed-off-by: NJens Axboe <axboe@fb.com>
上级 fd1270d5
......@@ -714,9 +714,7 @@ static void blk_mq_work_fn(struct work_struct *work)
hctx = container_of(work, struct blk_mq_hw_ctx, delayed_work.work);
preempt_disable();
__blk_mq_run_hw_queue(hctx);
preempt_enable();
}
static void __blk_mq_insert_request(struct blk_mq_hw_ctx *hctx,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册