OpenCloudOS-Kernel/drivers/lightnvm
Javier González a24ba4644b lightnvm: export set bad block table
Bad blocks should be managed by block owners. This would be either
targets for data blocks or sysblk for system blocks.

In order to support this, export two functions: One to mark a block as
an specific type (e.g., bad block) and another to update the bad block
table on the device.

Move bad block management to rrpc.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-11-29 12:12:51 -07:00
..
Kconfig lightnvm: NVM should depend on HAS_DMA 2016-09-21 07:56:10 -06:00
Makefile nvme: lightnvm: attach lightnvm sysfs to nvme block device 2016-11-29 12:12:51 -07:00
core.c lightnvm: export set bad block table 2016-11-29 12:12:51 -07:00
gennvm.c lightnvm: export set bad block table 2016-11-29 12:12:51 -07:00
gennvm.h lightnvm: move target mgmt into media mgr 2016-07-07 08:51:52 -06:00
rrpc.c lightnvm: export set bad block table 2016-11-29 12:12:51 -07:00
rrpc.h lightnvm: make rrpc_map_page call nvm_get_blk outside locks 2016-07-07 08:51:52 -06:00
sysblk.c lightnvm: export set bad block table 2016-11-29 12:12:51 -07:00