summaryrefslogtreecommitdiff
path: root/drivers/memory/of_memory.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-11-02 08:49:18 -0600
committerSagi Grimberg <sagi@grimberg.me>2016-11-14 02:08:51 +0200
commit553cd9ef82edd811948782a8f73ae73c4bfeedd3 (patch)
tree5209ca1a85e34a8e0fb9605e24759a50ce903b89 /drivers/memory/of_memory.h
parentfa14a0acea1ffe67913ba384a2897130a36dfe03 (diff)
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 'drivers/memory/of_memory.h')
0 files changed, 0 insertions, 0 deletions