lightnvm: introduce ioctl to initialize device
authorMatias Bjørling <m@bjorling.me>
Tue, 12 Jan 2016 06:49:37 +0000 (07:49 +0100)
committerJens Axboe <axboe@fb.com>
Tue, 12 Jan 2016 15:21:18 +0000 (08:21 -0700)
commit5569615424613aa006005f18b03a3a12738a47d7
tree340aeb95fc2416c298107aaa5f18fdb453c3493d
parente3eb3799f7e0d0924ceeba672ab271865de2802d
lightnvm: introduce ioctl to initialize device

Based on the previous patch, we now introduce an ioctl to initialize the
device using nvm_init_sysblock and create the necessary system blocks.
The user may specify the media manager that they wish to instantiate on
top. Default from user-space will be "gennvm".

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/lightnvm/core.c
include/uapi/linux/lightnvm.h