Files
linux/drivers/nvme/target
Meir Elisha a16f88964c nvmet-tcp: Fix a possible sporadic response drops in weakly ordered arch
The order in which queue->cmd and rcv_state are updated is crucial.
If these assignments are reordered by the compiler, the worker might not
get queued in nvmet_tcp_queue_response(), hanging the IO. to enforce the
the correct reordering, set rcv_state using smp_store_release().

Fixes: bdaf132791 ("nvmet-tcp: fix a segmentation fault during io parsing error")

Signed-off-by: Meir Elisha <meir.elisha@volumez.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
2025-02-27 18:20:27 -08:00
..
2024-08-23 09:50:16 -07:00
2024-06-24 12:53:42 -07:00
2024-06-24 12:53:43 -07:00
2025-02-27 15:12:58 -08:00
2025-01-04 15:27:35 -07:00
2025-01-04 15:27:35 -07:00