android_kernel_xiaomi_sm8450/drivers/lightnvm
Matias Bjørling b76eb20bb0 lightnvm: move target mgmt into media mgr
To enable persistent block management to easily control creation and
removal of targets, we move target management into the media
manager. The LightNVM core continues to maintain which target types are
registered, while the media manager now keeps track of its initialized
targets.

Two new callbacks for the media manager are introduced. create_tgt and
remove_tgt. Note that remove_tgt returns 0 on successfully removing a
target, and returns 1 if the target was not found.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-07-07 08:51:52 -06:00
..
core.c lightnvm: move target mgmt into media mgr 2016-07-07 08:51:52 -06:00
gennvm.c lightnvm: move target mgmt into media mgr 2016-07-07 08:51:52 -06:00
gennvm.h lightnvm: move target mgmt into media mgr 2016-07-07 08:51:52 -06:00
Kconfig lightnvm: rename gennvm and update description 2016-07-07 08:51:52 -06:00
Makefile lightnvm: core on-disk initialization 2016-01-12 08:21:18 -07:00
rrpc.c lightnvm: remove open/close statistics for gennvm 2016-07-07 08:51:52 -06:00
rrpc.h lightnvm: remove checkpatch warning for unsigned ints 2016-07-07 08:51:52 -06:00
sysblk.c lightnvm: Make functions not used by ouside static 2016-07-07 08:51:52 -06:00