commit | 8f5280f4ee75333ca12bde99ef6280ff65a8af43 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Jun 13 19:43:04 2014 +0200 |
committer | Jens Axboe <axboe@fb.com> | Fri Jun 13 12:17:38 2014 -0600 |
tree | 4605a53ad23a248379a49a4cba2df0408960f0d5 | |
parent | 28747fcd2211d0fccbe3d3c91a1067c3744db908 [diff] |
blk-mq: properly drain stopped queues If we need to drain a queue we need to run all queues, even if they are marked stopped to make sure the driver has a chance to error out on all queued requests. This fixes surprise removal with scsi-mq. Reported-by: Bart Van Assche <bvanassche@acm.org> Tested-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@fb.com>