]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: don't allow queue entering for a dying queue
authorKeith Busch <keith.busch@intel.com>
Fri, 6 Jun 2014 16:22:07 +0000 (10:22 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 6 Jun 2014 16:40:03 +0000 (10:40 -0600)
commit7ccbf34399d1030101f915ed63247de2e78a74d9
tree91311650aee107995e71b98cdb53f47fe3e8b1dd
parent59814cb4ff7b59e8f7bade30bf76a381f48bfe3d
blk-mq: don't allow queue entering for a dying queue

If the queue is going away, don't let new allocs or queueing
happen on it. Go through the normal wait process, and exit with
ENODEV in that case.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c