Skip to content

Commit

Permalink
null_blk: multi queue aware block test driver
Browse files Browse the repository at this point in the history
A driver that simply completes IO it receives, it does no
transfers. Written to fascilitate testing of the blk-mq code.
It supports various module options to use either bio queueing,
rq queueing, or mq mode.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Jens Axboe committed Oct 25, 2013
1 parent 320ae51 commit f2298c0
Show file tree
Hide file tree
Showing 3 changed files with 639 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/block/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ menuconfig BLK_DEV

if BLK_DEV

config BLK_DEV_NULL_BLK
tristate "Null test block driver"

config BLK_DEV_FD
tristate "Normal floppy disk support"
depends on ARCH_MAY_HAVE_PC_FDC
Expand Down
1 change: 1 addition & 0 deletions drivers/block/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ obj-$(CONFIG_BLK_DEV_RBD) += rbd.o
obj-$(CONFIG_BLK_DEV_PCIESSD_MTIP32XX) += mtip32xx/

obj-$(CONFIG_BLK_DEV_RSXX) += rsxx/
obj-$(CONFIG_BLK_DEV_NULL_BLK) += null_blk.o

nvme-y := nvme-core.o nvme-scsi.o
swim_mod-y := swim.o swim_asm.o
Loading

0 comments on commit f2298c0

Please sign in to comment.