summaryrefslogtreecommitdiffstats
path: root/block/blk-lib.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2014-05-26 11:45:02 +0200
committerJens Axboe <axboe@fb.com>2014-05-27 01:21:51 +0200
commit19c5d84f14d2b01fe4c24e1444142f69e6dc08f6 (patch)
treef69523d38d3d2c7dc9942291f2e06a72577b8c8a /block/blk-lib.c
parentblk-mq: allow setting of per-request timeouts (diff)
downloadlinux-19c5d84f14d2b01fe4c24e1444142f69e6dc08f6.tar.xz
linux-19c5d84f14d2b01fe4c24e1444142f69e6dc08f6.zip
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>
Diffstat (limited to 'block/blk-lib.c')
0 files changed, 0 insertions, 0 deletions