]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: idle all hardware contexts before freeing a queue
authorChristoph Hellwig <hch@lst.de>
Mon, 26 May 2014 09:45:02 +0000 (11:45 +0200)
committerJens Axboe <axboe@fb.com>
Mon, 26 May 2014 23:21:51 +0000 (17:21 -0600)
commit8b3192549069ab56be8a2a41b2e01e734cc5c17b
treef69523d38d3d2c7dc9942291f2e06a72577b8c8a
parentfffeb934314d2122fe374d0f1f73c2647c78750f
blk-mq: idle all hardware contexts before freeing a queue

Without this we can leak the active_queues reference if a command is
freed while it is considered active.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c