linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V4 0/2] Fix race conditions in the nvme-tcp driver
@ 2025-04-04  8:27 Maurizio Lombardi
  2025-04-04  8:28 ` [PATCH V4 1/2] nvme-tcp: Prevent infinite loop if socket closes during CONNECTING state Maurizio Lombardi
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Maurizio Lombardi @ 2025-04-04  8:27 UTC (permalink / raw)
  To: kbusch; +Cc: hare, sagi, linux-nvme, mlombard, zhang.guanghui, loberman

Patch 1 fixes a race condition when the sockets get closed
while the controller is transitioning from CONNECTING to LIVE state.

Patch 2 fixes a command double completion when a send operation
fails despite the fact that the command has been received by the target.


v4: added patch 2/2

v3: Do not check for -EPIPE, just call nvme_tcp_error_recovery()

v2: commit message: clarify where the error recovery is started


Maurizio Lombardi (2):
  nvme-tcp: Prevent infinite loop if socket closes during CONNECTING
    state
  nvme-tcp: do not fail the request if send fails

 drivers/nvme/host/tcp.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

-- 
2.43.5



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-10-21  6:15 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-04  8:27 [PATCH V4 0/2] Fix race conditions in the nvme-tcp driver Maurizio Lombardi
2025-04-04  8:28 ` [PATCH V4 1/2] nvme-tcp: Prevent infinite loop if socket closes during CONNECTING state Maurizio Lombardi
2025-04-05 23:22   ` Keith Busch
2025-04-07  6:11   ` Hannes Reinecke
2025-04-13 22:44   ` Sagi Grimberg
2025-04-14  7:25     ` Maurizio Lombardi
2025-04-14 21:35       ` Sagi Grimberg
2025-04-17 13:04         ` Maurizio Lombardi
2025-04-18 11:14           ` Sagi Grimberg
2025-06-10 12:50             ` Maurizio Lombardi
2025-06-10 14:29               ` Sagi Grimberg
     [not found]                 ` <202510211137214079503@cestc.cn>
2025-10-21  6:05                   ` [PATCH V4 1/2] nvme-tcp: Prevent infinite loop if socket closes during CONNECTING state【请注意,邮件由sagigrim@gmail.com代发】 Maurizio Lombardi
2025-10-21  6:14                     ` Maurizio Lombardi
2025-04-04  8:28 ` [PATCH V4 2/2] nvme-tcp: do not complete the request if send operation fails Maurizio Lombardi
2025-04-05 23:23   ` Keith Busch
2025-04-07  6:13   ` Hannes Reinecke
2025-04-11 12:26 ` [PATCH V4 0/2] Fix race conditions in the nvme-tcp driver Maurizio Lombardi
2025-04-13 22:42 ` Sagi Grimberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).