]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
lightnvm: allow to force mm initialization
authorMatias Bjørling <m@bjorling.me>
Thu, 4 Feb 2016 14:13:27 +0000 (15:13 +0100)
committerJens Axboe <axboe@fb.com>
Thu, 4 Feb 2016 16:19:45 +0000 (09:19 -0700)
System block allows the device to initialize with its configured media
manager. The system blocks is written to disk, and read again when media
manager is determined. For this to work, the backend must store the
data. Device drivers, such as null_blk, does not have any backend
storage. This patch allows the media manager to be initialized without a
storage backend.

It also fix incorrect configuration of capabilities in null_blk, as it
does not support get/set bad block interface.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>

No differences found