diff options
author | Jens Axboe <axboe@fb.com> | 2017-03-30 22:44:26 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-03-30 22:44:26 +0300 |
commit | db5bcf87bb9e856e90c131d6e636a5550c2bbcd3 (patch) | |
tree | a444271fa55e059a87263021575e7036dcef19af /drivers/block/xen-blkfront.c | |
parent | bf4907c05e615f6a1811d61c58d56da52f7e9954 (diff) | |
download | linux-db5bcf87bb9e856e90c131d6e636a5550c2bbcd3.tar.xz |
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/xen-blkfront.c')
0 files changed, 0 insertions, 0 deletions