]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: merge the softirq vs non-softirq IPI logic
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Jun 2020 06:44:46 +0000 (08:44 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 24 Jun 2020 15:15:57 +0000 (09:15 -0600)
commitd9d9dd9e6c247abd21f4083fb54e940040685117
tree7e3b66e049dae3c92ad7875afac154285b0c4e1d
parente309048d6f1ea3419194012b5d78a0ff7e412993
blk-mq: merge the softirq vs non-softirq IPI logic

Both the softirq path for single queue devices and the multi-queue
completion handler share the same logic to figure out if we need an
IPI for the completion and eventually issue it.  Merge the two
versions into a single unified code path.

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