Jens Axboe 49fd524f95 bsg: update check for rq based driver for blk-mq
bsg currently checks ->request_fn to check whether a queue can
handle struct request. But with blk-mq, we don't have a request_fn
yet are request based. Add a queue_is_rq_based() helper and use
that in bsg, I'm guessing this is not the last place we need to
update for this. Besides, it better explains what is being
checked.

Signed-off-by: Jens Axboe <axboe@fb.com>
2014-04-16 14:15:46 -06:00
..
2014-04-05 18:46:26 -07:00
2014-04-12 17:00:40 -07:00
2014-03-06 09:47:42 +01:00
2014-04-09 20:26:20 -06:00
2014-04-07 10:47:51 -07:00