summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-06-11 17:41:11 +0200
committerChristoph Hellwig <hch@lst.de>2018-06-15 11:21:00 +0200
commit35897b920c8ab5e23331ad429e0aa235528c63ba (patch)
treec5197fa28e89654982bdd5b1ef385f1dc2c718e8 /block
parent278ab3799a2588f97423180947f09ec5b576e79e (diff)
downloadlinux-35897b920c8ab5e23331ad429e0aa235528c63ba.tar.gz
linux-35897b920c8ab5e23331ad429e0aa235528c63ba.tar.bz2
linux-35897b920c8ab5e23331ad429e0aa235528c63ba.zip
nvme-fabrics: fix and refine state checks in __nvmf_check_ready
- make sure we only allow internally generates commands in any non-live state - only allow connect commands on non-live queues when actually in the new or connecting states - treat all other non-live, non-dead states the same as a default cach-all This fixes a regression where we could not shutdown a controller orderly as we didn't allow the internal generated Property Set command, and also ensures we don't accidentally let a Connect command through in the wrong state. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: James Smart <james.smart@broadcom.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions