blk-mq: add blk_mq_stop_hw_queues
authorChristoph Hellwig <hch@lst.de>
Fri, 24 Jan 2014 21:05:27 +0000 (13:05 -0800)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:39 +0000 (12:54 -0600)
commitfd66ecb469f05e211dde69c5841296f1c46dd9a8
tree4c268682cb5578d659a9bcc588ccb6a566a8355f
parent03f03f3d36d1b18494e9248c42e464eb06041ea8
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