From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796151829; b=lD3vAdJiCvUAuaDAZ9H+Q+lIPMKrjsN5g0nmWKsYwWE0jy//TmCtTIYpxlWr5JizOhmk ipprsMxZkdjO4uZI9GkJYgS1ZIAAt65MYePacTtfLiPx63EXWSrBuuaKdeWB+5/lCLIjG S4aax5/FEtab1G2FEDHiqmahQPXjP55PyV01xoKaAZ3e7l+y95Cl2o8sHHZaNTUGCp/PR XQeALMNthBRn/DAmiwxDKrmNe+gOPv067T0FIcEprbM+9f8XlhwWlnmsb17lYEi7wWFfi z16ymOGKb89SMT2bkrWg2oT1pH0mvupY0CoC/NcxeeuMuX+EblDRuM1F7ctf7KCa9OQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796151829; h=Received:DKIM-Signature:From:To:Cc:In-Reply-To:References:Subject: Message-Id:Date:MIME-Version:Content-Type:Content-Transfer-Encoding: X-Mailer; bh=2rkCn6DhjIcOrp0gaZZlo3B5DjGNWx6rfFuXPd63cno=; b=nuYngVSJpNUYDSJzrHYupJmVQo/ncuZtjlQRzmHerNCVchGixm39JPfFsh5lJ/39Leak mubN5ZHYN9tPX8pl8FfwaXoXdzcvLkaJS9CvrbSORcmd+SG80F6qH9JOEQD8CIcswLzUA Q0767ViOEc+zgWYrihTnWQFnFqOXD9/Jh5tzO7HyKhK4UrvJNZQLhRARwFx3xRUUxsktJ v8Taq+Av1bND4bujuqTjQdoTrtxeI0VSYzwQiqtDjqK55oMnCVxwYMHWy/XL7YSM9Um4o 71HX52ZMs1KSOr/8CWPGnf3tb13BS7881NA6wylHIs8rpsBS7uC52A63WFqIAENIfYg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eSvP4cSO; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 537A9606A320; Tue, 1 Dec 2026 19:03:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=eSvP4cSO Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D9391F00898; Tue, 1 Dec 2026 19:03:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796151829; bh=2rkCn6DhjIcOrp0gaZZlo3B5DjGNWx6rfFuXPd63cno=; h=From:To:Cc:In-Reply-To:References:Subject:Date; b=eSvP4cSOsSHLgn1eK3qNHxQWREMfYsVUSC5/o3PWJFDwhOJYkjPb71ctkYWUXFw7G 9tCHkW3DsX8jVtUrTKT8z3uYsCnve4/J0L/rhHdlG3CHI186CtXNCAuFSZv5IXhhKk IqRdE44BDvhYjma+LxRcx8Wa8mw6gYgDM63pwt1rfGsOlZaHvG8yY6Ng3XHe8npjOz v1ah6OTKIND9Nh/GVnV8cFbXEqVt/LcKXj+YZPbP1Lf4TcazPNoVgxPwbXlTlTnMhF F67A4vTgI5mpP1HomQMmMjSTggpSCLtMm4Y7TJK7IbcGzhg7ESRCgGkd69qdltUfYr ra9PrO00zowQQ== From: Leon Romanovsky To: bernard.metzler@linux.dev, jgg@ziepe.ca, Cygnus Qiu Cc: cel@kernel.org, linux-nfs@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org In-Reply-To: <20261127005304.366336-1-eritque-arcus@ikuyo.dev> References: <20261127005304.366336-1-eritque-arcus@ikuyo.dev> Subject: Re: [PATCH v2] RDMA/siw: don't complete a fenced READ twice on flush Message-Id: <179615182438.440683.3345569447219906363.b4-ty@b4> Date: Tue, 01 Dec 2026 21:03:44 +0200 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.17-dev-d2b70 On Thu, 26 Nov 2026 19:53:04 -0500, Cygnus Qiu wrote: > siw_sq_flush() completes a QUEUED READ in the TX slot, assuming the READ > is not in the ORQ yet. That holds only while a full ORQ fences it. > siw_check_tx_fence() copies a fenced READ into the ORQ when a Read > Response frees a slot, and siw_activate_tx_from_sq() copies a READ into > a free slot. In both cases the READ stays QUEUED until the TX path sends > it, and a flush in that window completes it twice. > > [...] Applied, thanks! [1/1] RDMA/siw: don't complete a fenced READ twice on flush https://git.kernel.org/rdma/rdma/c/1710f2bc990a31 Best regards, -- Leon Romanovsky