mmc: core: Use blk_mq_complete_request_direct().
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 25 Oct 2021 07:06:58 +0000 (09:06 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:38:51 +0000 (06:38 -0700)
commit639d353143fa3bfa81bbe7af263260d93d23d822
tree9d3fff6edcd784f68a8df584a8c585facd431239
parente8dc17e2893b4107366004810ca2a4acf1fc8563
mmc: core: Use blk_mq_complete_request_direct().

The completion callback for the sdhci-pci device is invoked from a
kworker.
I couldn't identify in which context is mmc_blk_mq_req_done() invoke but
the remaining caller are from invoked from preemptible context. Here it
would make sense to complete the request directly instead scheduling
ksoftirqd for its completion.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20211025070658.1565848-3-bigeasy@linutronix.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/mmc/core/block.c