From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=67.231.153.30 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796056102; b=0tYf8C8HYLzshxKEDQoICCjIbMdF4Gr3J+stDAyhEDFuCiBQRb3eN/lhiT5onOsMw2Tn HliXCmGVJV825OoIryoSTKo74fXm89jqmFPIkZBQdn5wHx6fQGTPzsYUFPnOBo0/1oB9r t17PtrT9u7gxXKcJGG6mD2DatVhms21uUMvqARCTFYLO0JShrI0J7XuLuaTzf0LbXhuxi 6nEmFPpRYHh590C4mLSzzQwd1+ELEwIdWXESsu2dh4cPh1Q8Fz7dLYZwuOYq5NMRTAG+c ZxvmWcokQTPfvo4XbMvFOuw7swqxPz4ttTQrfr9TGgw98SlDzFHkVuE0mdKKzo5riBQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796056102; h=DMARC-Filter:Received:Received:Received:Received:From:To:CC: In-Reply-To:References:Subject:Message-ID:Date:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Mailer:X-FB-Internal: X-Proofpoint-GUID:X-Proofpoint-Spam-Details-Enc:X-Authority-Analysis: X-Proofpoint-ORIG-GUID:X-Proofpoint-Spam-Info: X-Proofpoint-Virus-Version; bh=Ddwp/SN9By3TNJCRrH0kedlLA4EXBKKv6pn1tC4XSX0=; b=mMf6CWHyPyeJO2nRu8WfrBlwlgkJZxXb+qrXb2tCkhu2MgYO7BSnRD/M8/c1QPn6HwnH K15eSmknwrTxMZBR4GFYyInLjor56xpsfoNwZBEN+jyACsUf5A2oCoS0cuQavg2Pe4ET/ RmoQDJR5h02yZpj/eBDSw9XR+Jh8Jqi7IPEo2yXwrGqtXr0Zvz8vrsp2jCDnRuF+XrPYf 1nIkO2LIaL9nDFo9vJgUKG+1mb3KveXQJMEfn72yJYhVXVhp3i+v1tJ7AXCO4ws7HgIXA aplNVj4jZ9lICQn4S+fOUMTj6geQyqCXgDH8OXtfCQhAfwJM+o8fq345MREp9F6fsQA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail header.from=kernel.org; spf=pass smtp.mailfrom=meta.com; arc=none smtp.remote-ip=67.231.153.30 Received: from mx0b-00082601.pphosted.com (mx0b-00082601.pphosted.com [67.231.153.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 81E00606A31C for ; Mon, 30 Nov 2026 16:28:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 81E00606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=meta.com Received: from pps.filterd (m0528006.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AUG1QxN4004939 for ; Mon, 30 Nov 2026 08:28:20 -0800 Received: from maileast.thefacebook.com ([163.114.135.16]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 4j8gfnxxxy-6 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 30 Nov 2026 08:28:20 -0800 (PST) Received: from twshared91143.16.frc2.facebook.com (2620:10d:c0a8:1b::30) by mail.thefacebook.com (2620:10d:c0a9:6f::237c) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.2562.56; Mon, 30 Nov 2026 16:28:17 +0000 Received: from devbig197.nha3.facebook.com (localhost [IPv6:::1]) by devbig197.nha3.facebook.com (Postfix) with ESMTP id 0D7162FCE6264; Mon, 30 Nov 2026 08:28:02 -0800 (PST) From: Keith Busch To: Jens Axboe , Christoph Hellwig , Sagi Grimberg , Seiji Nishikawa CC: Hannes Reinecke , Chris Leech , , In-Reply-To: <20261126063255.3240292-1-snishika@redhat.com> References: <20261126063255.3240292-1-snishika@redhat.com> Subject: Re: [PATCH v2] nvme-tcp: limit the direct send path to poll queues Message-ID: <179605608205.3038005.14726515835644746236.b4-ty@kernel.org> Date: Mon, 30 Nov 2026 08:28:02 -0800 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13.0 X-FB-Internal: Safe X-Proofpoint-GUID: tdkA21lmIFrC1aJt7qY78mNP_mT2Urzw X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTMwMDA2NSBTYWx0ZWRfX2QAEIlRx4pGw RKB88A9+J8fJtV886xusEijZNmuuYM18p80MJI/VSKRXzpiC5NceXzHp4zoH/swveEiguRk5HFE ty1UvJ0VRjXspxCy5XkMRl6TZQ2K4hfmO1MhGkBBUQnJHCl/L077jI6lSY+Sw9U/Yrzh32eaPNv 91fd8vDRy/drraHGZ/bQpXwLx8g5BFJ3uqS4xVC80nQh6MV0gv3G1FzBj4I4aXwIs4qBtYcG02n TRK/g3h5OpE0TiLnMsWfOyOJI3dlFNN4MO1w+BGAeRDgk4t/hpXuPJOtYVV3UkX+IuvZtyi3Hjv jb09yGOUUpTxiA0IQKsYmhEDh12tIV8ZKkwFeXOgt+UJHqCPTSf3F6JJcLR05XyWsjasvlXQz2n KOWU76TjpFlueB+Yf+rjRVGed/O8uMRktc1kx8GODpp0DV34ODQuCos84W6A+crQSAcDG1w0yfz c6pFijSeO7Mijv0B4bg== X-Authority-Analysis: v=2.4 cv=MsPHeGae c=1 sm=1 tr=0 ts=6b0da424 cx=c_pps a=MfjaFnPeirRr97d5FC5oHw==:117 a=MfjaFnPeirRr97d5FC5oHw==:17 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=VkNPw1HP01LnGYTKEx00:22 a=7x6HtfJdh03M6CCDgxCd:22 a=kkcUborcUVj0H7zxAXTl:22 a=VwQbUJbxAAAA:8 a=OEIItuvFIkyOF8HMR4UA:9 a=QEXdDO2ut3YA:10 X-Proofpoint-ORIG-GUID: tdkA21lmIFrC1aJt7qY78mNP_mT2Urzw X-Proofpoint-Spam-Info: AW1haW4tMjYxMTMwMDA2NSBTYWx0ZWRfX31A22rYp4crz hldU6sGCimYVYLmaP/qj8rQdwFTm/uZXnRrnCLZ+Unh1o76dX1XVGGzs58Dk5MrFoNqTRGndbZf 24Mktep05e9mIBJ2QYxash/Qi3xUTGY= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-30_04,2026-11-30_01,2025-10-01_01 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