• J
    bsg: update check for rq based driver for blk-mq · 49fd524f
    Jens Axboe 提交于
    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: NJens Axboe <axboe@fb.com>
    49fd524f
bsg.c 23.6 KB