scsi: add scsi-mq helper for iterating over busy commands
authorJens Axboe <axboe@fb.com>
Fri, 3 Apr 2015 16:31:59 +0000 (10:31 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 3 Apr 2015 16:31:59 +0000 (10:31 -0600)
commit06e6f29b709400ce05cdb0d0b0710082f96a1249
treef3f124e33446eba1244701413abe9b46af66dad9
parent66ced2d6ccda3c31cb18981099fd7909bd747ce9
scsi: add scsi-mq helper for iterating over busy commands

This is basically just a wrapper around blk_mq_queue_busy_iter(),
so that LLDs don't have to deal with or worry about blk-mq hardware
queues.

Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/scsi_lib.c
include/scsi/scsi_device.h