Re: [PATCH 3/3] blk-mq: Use llist_head for blk_cpu_done

From: Christoph Hellwig
Date: Thu Oct 29 2020 - 10:05:42 EST


On Thu, Oct 29, 2020 at 02:12:12PM +0100, Sebastian Andrzej Siewior wrote:
> Are there many drivers completing the SCSI requests in preemtible
> context? In this case it would be more efficient to complete the request
> directly (usb_stor_control_thread() goes to sleep after that anyway and
> there is only one request at a time).

Well, usb-storage obviously seems to do it, and the block layer
does not prohibit it.