Re: [PATCH 2/3] blk-mq: Always complete remote completions requests in softirq

From: Christoph Hellwig
Date: Tue Jan 26 2021 - 01:05:37 EST


On Sat, Jan 23, 2021 at 09:10:26PM +0100, Sebastian Andrzej Siewior wrote:
> Controllers with multiple queues have their IRQ-handelers pinned to a
> CPU. The core shouldn't need to complete the request on a remote CPU.
>
> Remove this case and always raise the softirq to complete the request.

What about changing blk_mq_trigger_softirq to take a void * argument
and thus removing __blk_mq_complete_request_remote entirely?