OpenCloudOS-Kernel/drivers/lightnvm
Javier González 4af3f75d79 lightnvm: allow to init targets on factory mode
Target initialization has two responsibilities: creating the target
partition and instantiating the target. This patch enables to create a
factory partition (e.g., do not trigger recovery on the given target).
This is useful for target development and for being able to restore the
device state at any moment in time without requiring a full-device
erase.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-04-16 10:06:25 -06:00
..
Kconfig lightnvm: merge gennvm with core 2017-01-31 08:32:13 -07:00
Makefile lightnvm: merge gennvm with core 2017-01-31 08:32:13 -07:00
core.c lightnvm: allow to init targets on factory mode 2017-04-16 10:06:25 -06:00
rrpc.c lightnvm: allow to init targets on factory mode 2017-04-16 10:06:25 -06:00
rrpc.h lightnvm: use end_io callback instead of instance 2017-01-31 08:32:13 -07:00