nvme-rdma: don't suppress send completions
authorSagi Grimberg <sagi@grimberg.me>
Thu, 23 Nov 2017 15:35:21 +0000 (17:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Mar 2018 06:41:26 +0000 (22:41 -0800)
commitdf11c2268c39f6885a9b2caef02a8aac588abb19
tree502cea2d3420a7e287dbf650f35cc9be81fe44c2
parent9474d8fa7ac486e54fbba0fd1f04f907c9a4885a
nvme-rdma: don't suppress send completions

commit b4b591c87f2b0f4ebaf3a68d4f13873b241aa584 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvme/host/rdma.c