]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/nvme/host/rdma.c
nvme-rdma: don't suppress send completions
authorSagi Grimberg <sagi@grimberg.me>
Thu, 23 Nov 2017 15:35:21 +0000 (17:35 +0200)
committerChristoph Hellwig <hch@lst.de>
Sun, 26 Nov 2017 14:33:32 +0000 (15:33 +0100)
commitb4b591c87f2b0f4ebaf3a68d4f13873b241aa584
treedcde717c1d834f5f5582d7c32ef50ae59e08ec27
parent6c4ca1e36cdc1a0a7a84797804b87920ccbebf51
nvme-rdma: don't suppress send completions

The entire completions suppress mechanism is currently broken because the
HCA might retry a send operation (due to dropped ack) after the nvme
transaction has completed.

In order to handle this, we signal all send completions and introduce a
separate done handler for async events as they will be handled differently
(as they don't include in-capsule data by definition).

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c