Re: [PATCH v2] nvme-tcp: limit the direct send path to poll queues
From: Keith Busch
Date: Mon Nov 30 2026 - 11:28:26 EST
On Thu, 26 Nov 2026 15:32:55 +0900, Seiji Nishikawa wrote:
> nvme_tcp_queue_request() sends the request directly from the submitting
> context when it runs on the io_cpu of the queue, the queue is empty and
> it can take send_mutex. Commit db5ad6b7f8cd ("nvme-tcp: try to send
> request in queue_rq context") added this so that an idle queue can send
> the request without waiting for io_work to run.
>
> Since then this path has needed a series of fixes for races and
> priority inversions between it and io_work. These are
> commit 5c11f7d9f843 ("nvme-tcp: Fix possible race of io_work and direct
> send"), commit a0fdd1418007 ("nvme-tcp: rerun io_work if req_list is
> not empty"), commit 70f437fb4395 ("nvme-tcp: fix io_work priority
> inversion"), commit 08acb54b063a ("nvme-tcp: defer TLS inline send to
> io_work") and commit 5db358f3a7f9 ("nvme-tcp: fix io_work priority
> inversion when send_mutex is held").
>
> [...]
Thanks, applied to nvme-7.5.
[1/1] nvme-tcp: limit the direct send path to poll queues
commit: 4a3c17566089abfcaba5eddd24cfb1f6e51f6236
--
Keith Busch <kbusch@xxxxxxxxxx>