diff options
author | Christoph Hellwig <hch@lst.de> | 2016-11-02 14:49:18 (GMT) |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2016-11-14 00:08:51 (GMT) |
commit | 553cd9ef82edd811948782a8f73ae73c4bfeedd3 (patch) | |
tree | 5209ca1a85e34a8e0fb9605e24759a50ce903b89 /lib/842/842_debugfs.h | |
parent | fa14a0acea1ffe67913ba384a2897130a36dfe03 (diff) | |
download | linux-553cd9ef82edd811948782a8f73ae73c4bfeedd3.tar.xz |
nvme-rdma: reject non-connect commands before the queue is live
If we reconncect we might have command queue up that get resent as soon
as the queue is restarted. But until the connect command succeeded we
can't send other command. Add a new flag that marks a queue as live when
connect finishes, and delay any non-connect command until the queue is
live based on it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Steve Wise <swise@opengridcomputing.com>
Tested-by: Steve Wise <swise@opengridcomputing.com>
[sagig: fixes admin queue LIVE setting]
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'lib/842/842_debugfs.h')
0 files changed, 0 insertions, 0 deletions