diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-10-24 15:25:21 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-11-20 08:28:35 +0100 |
commit | 9e0ed16ab9a9aaf670b81c9cd05b5e50defed654 (patch) | |
tree | 596c6fcd7c046a2c4f51913f9b1701edc76e9a3f /Documentation/blockdev | |
parent | 48832f8d58cfedb2f9bee11bbfbb657efb42e7e7 (diff) | |
download | lwn-9e0ed16ab9a9aaf670b81c9cd05b5e50defed654.tar.gz lwn-9e0ed16ab9a9aaf670b81c9cd05b5e50defed654.zip |
nvme-fc: check if queue is ready in queue_rq
In case the queue is not LIVE (fully functional and connected at the nvmf
level), we cannot allow any commands other than connect to pass through.
Add a new queue state flag NVME_FC_Q_LIVE which is set after nvmf connect
and cleared in queue teardown.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: James Smart <james.smart@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'Documentation/blockdev')
0 files changed, 0 insertions, 0 deletions