]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
blk-mq: add blk_mq_stop_hw_queues
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Oct 2013 13:45:58 +0000 (14:45 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 25 Oct 2013 13:45:58 +0000 (14:45 +0100)
commit280d45f6c35d8d7a0fe20c36caf426e3ac139cf9
treeb3b059cfc6c43ce301fd7fc309f65ea888a9311a
parentf2298c0403b0dfcaef637eba0c02c4a06d7a25ab
blk-mq: add blk_mq_stop_hw_queues

Add a helper to iterate over all hw queues and stop them.  This is useful
for driver that implement PM suspend functionality.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Modified to just call blk_mq_stop_hw_queue() by Jens.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
include/linux/blk-mq.h