mbox series

[v3,0/2] blk-mq: Allow to complete requests directly

Message ID 20211025070658.1565848-1-bigeasy@linutronix.de (mailing list archive)
Headers show
Series blk-mq: Allow to complete requests directly | expand

Message

Sebastian Andrzej Siewior Oct. 25, 2021, 7:06 a.m. UTC
v2…v3:
 - Align arguments with the begin of the function name
   (blk_mq_complete_request_direct).

v1…v2:
 - Drop the SCSI patch for now.
 - Make blk_mq_complete_request_direct() call the completion handler
   directly instead going through struct chain (Jens and hch might had
   the same in mind).

This series converts a part from the MMC layer which completes the
requests from kworker/ preemptible context. Its intention is to avoid
going through the softirq stack in preemptible context which would
involve the ksoftirqd in this case.

Comments

Sebastian Andrzej Siewior Nov. 25, 2021, 11:52 a.m. UTC | #1
On 2021-10-25 09:06:56 [+0200], To linux-block@vger.kernel.org wrote:
> v2…v3:
>  - Align arguments with the begin of the function name
>    (blk_mq_complete_request_direct).
> 
> v1…v2:
>  - Drop the SCSI patch for now.
>  - Make blk_mq_complete_request_direct() call the completion handler
>    directly instead going through struct chain (Jens and hch might had
>    the same in mind).
> 
> This series converts a part from the MMC layer which completes the
> requests from kworker/ preemptible context. Its intention is to avoid
> going through the softirq stack in preemptible context which would
> involve the ksoftirqd in this case.

Ping :)

This still applies on-top on top of -next. No need to repost, right?

Sebastian
Jens Axboe Nov. 25, 2021, 4:02 p.m. UTC | #2
On Mon, 25 Oct 2021 09:06:56 +0200, Sebastian Andrzej Siewior wrote:
> v2…v3:
>  - Align arguments with the begin of the function name
>    (blk_mq_complete_request_direct).
> 
> v1…v2:
>  - Drop the SCSI patch for now.
>  - Make blk_mq_complete_request_direct() call the completion handler
>    directly instead going through struct chain (Jens and hch might had
>    the same in mind).
> 
> [...]

Applied, thanks!

[1/2] blk-mq: Add blk_mq_complete_request_direct()
      commit: f783a8cc7d0701bcfb1ee0989a2227250c847178
[2/2] mmc: core: Use blk_mq_complete_request_direct().
      commit: a5d6aee0c81f86fc83950567b8b6988bf8ca6ff1

Best regards,