blk-mq: add helper to iterate all busy tags on all hardware queues
authorJens Axboe <axboe@fb.com>
Fri, 3 Apr 2015 16:30:51 +0000 (10:30 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 3 Apr 2015 16:30:51 +0000 (10:30 -0600)
commitbe172d06a98735656eae7c4533e04b040b8103ef
treefdf851724ae3d008dd789ad94abcd5a2f0964e15
parentae59040c5caf922452b5ffa92b897f5a9fd1f7b0
blk-mq: add helper to iterate all busy tags on all hardware queues

The current iter helper function deals with a hardware queue. Some
callers want to access all queues, like the internal blk-mq timeout
handling does. So add a helper for that.

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