linux/drivers/nvme/host
Sagi Grimberg abf87d5e9d nvme-rdma: rework rdma connection establishment error path
Instead of introducing a flag for if the queue is allocated,
simply free the rdma resources when we get the error.

We allocate the queue rdma resources when we have an address
resolution, their we allocate (or take a reference on) our device
so we should free it when we have error after the address resolution
namely:
1. route resolution error
2. connect reject
3. connect error
4. peer unreachable error

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2017-06-15 14:28:20 +02:00
..
core.c nvme: save hmpre and hmmin in struct nvme_ctrl 2017-06-13 11:45:35 +02:00
fabrics.c nvme: switch to uuid_t 2017-06-05 16:59:16 +02:00
fabrics.h nvme: switch to uuid_t 2017-06-05 16:59:16 +02:00
fc.c Merge branch 'uuid-types' of bombadil.infradead.org:public_git/uuid into nvme-base 2017-06-13 11:45:14 +02:00
Kconfig nvme-fabrics: Add host support for FC transport 2016-12-06 10:17:56 +02:00
lightnvm.c block: introduce new block status code type 2017-06-09 09:27:32 -06:00
Makefile nvme-fabrics: Add host support for FC transport 2016-12-06 10:17:56 +02:00
nvme.h nvme: save hmpre and hmmin in struct nvme_ctrl 2017-06-13 11:45:35 +02:00
pci.c nvme-pci: implement host memory buffer support 2017-06-15 14:28:13 +02:00
rdma.c nvme-rdma: rework rdma connection establishment error path 2017-06-15 14:28:20 +02:00
scsi.c nvme-scsi: remove nvme_trans_security_protocol 2017-04-27 08:39:32 +02:00