]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: complete polled requests directly
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Jun 2020 06:44:44 +0000 (08:44 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Jun 2020 15:15:57 +0000 (09:15 -0600)
commit48d69d769226e2babe896eed0098cd60a2857016
treeb9d3453bf84d25b29513e539531ea981ea1b6063
parent72c11ed1b4f0a3e9f144210fdf817a224c50bf67
blk-mq: complete polled requests directly

Even for single queue devices there is no point in offloading a polled
completion to the softirq, given that blk_mq_force_complete_rq is called
from the polling thread in that case and thus there are no starvation
issues.

Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c