diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2016-07-14 17:39:47 +0300 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2016-08-03 16:25:07 +0300 |
commit | 57de5a0a40db97bb390d3ac1f4c2e74b9f3515c3 (patch) | |
tree | 698913355a30c7e313c1347064c565dbf55516b5 /net/dccp/ackvec.c | |
parent | 5f372eb3e76317b4fe4ba53ad1547f39fc883350 (diff) | |
download | blackbird-op-linux-57de5a0a40db97bb390d3ac1f4c2e74b9f3515c3.tar.gz blackbird-op-linux-57de5a0a40db97bb390d3ac1f4c2e74b9f3515c3.zip |
nvme-rdma: Fix device removal handling
Device removal sequence may have crashed because the
controller (and admin queue space) was freed before
we destroyed the admin queue resources. Thus we
want to destroy the admin queue and only then queue
controller deletion and wait for it to complete.
More specifically we:
1. own the controller deletion (make sure we are not
competing with another deletion).
2. get rid of inflight reconnects if exists (which
also destroy and create queues).
3. destroy the queue.
4. safely queue controller deletion (and wait for it
to complete).
Reported-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'net/dccp/ackvec.c')
0 files changed, 0 insertions, 0 deletions