summaryrefslogtreecommitdiff
path: root/drivers/block/virtio_blk.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2017-03-30 13:44:26 -0600
committerJens Axboe <axboe@fb.com>2017-03-30 13:44:26 -0600
commitdb5bcf87bb9e856e90c131d6e636a5550c2bbcd3 (patch)
treea444271fa55e059a87263021575e7036dcef19af /drivers/block/virtio_blk.c
parentbf4907c05e615f6a1811d61c58d56da52f7e9954 (diff)
null_blk: add blocking mode
This adds a new module parameter to null_blk, blocking. If set, null_blk will set the BLK_MQ_F_BLOCKING flag, indicating that it sometimes/always needs to block in its ->queue_rq() function. The intent is to help find regressions in blocking drivers, since not many of them exist. If null_blk is loaded with submit_queues > 1 and blocking=1, this shows the regression recently fixed by bf4907c05e61. Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/virtio_blk.c')
0 files changed, 0 insertions, 0 deletions