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)
commitd391a7a399e46315a8adc65eb8fb5d9123b91700
tree7e3b66e049dae3c92ad7875afac154285b0c4e1d
parentd6cc464cc58424e137eca5e0a53226291044f5d2
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