null_blk: register as a LightNVM device
authorMatias Bjørling <m@bjorling.me>
Thu, 12 Nov 2015 19:25:10 +0000 (20:25 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 16 Nov 2015 22:22:28 +0000 (15:22 -0700)
commitb2b7e00148a203e9934bbd17aebffae3f447ade7
tree008f24a28ef3b9d57ed39af3b621d084dde71008
parent4736346bb47966254ee6d1fc50267a2609791cba
null_blk: register as a LightNVM device

Add support for registering as a LightNVM device. This allows us to
evaluate the performance of the LightNVM subsystem.

In /drivers/Makefile, LightNVM is moved above block device drivers
to make sure that the LightNVM media managers have been initialized
before drivers under /drivers/block are initialized.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Fix by Jens Axboe to remove unneeded slab cache and the following
memory leak.
Signed-off-by: Jens Axboe <axboe@fb.com>
Documentation/block/null_blk.txt
drivers/Makefile
drivers/block/null_blk.c