aboutsummaryrefslogtreecommitdiff
path: root/block/blk.h
diff options
context:
space:
mode:
authorKeith Busch2015-01-07 18:55:50 -0700
committerJens Axboe2015-01-08 09:02:08 -0700
commit0fb59cbc5f133207535b25ec7d16fba24d549ee2 (patch)
treec47b5e191b5c7289732ffd203b0b7e782ffa3cd6 /block/blk.h
parentea191d2f36b0f577ce5377c3e72aedc34282969d (diff)
NVMe: Admin queue removal handling
This protects admin queue access on shutdown. When the controller is disabled, the queue is frozen to prevent new entry, and unfrozen on resume, and fixes cq_vector signedness to not suspend a queue twice. Since unfreezing the queue makes it available for commands, it requires the queue be initialized, so this moves this part after that. Special handling is done when the device is unresponsive during shutdown. This can be optimized to not require subsequent commands to timeout, but saving that fix for later. This patch also removes the kill signals in this path that were left-over artifacts from the blk-mq conversion and no longer necessary. Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk.h')
0 files changed, 0 insertions, 0 deletions