linux_dsm_epyc7002/drivers/lightnvm
Matias Bjørling 22e8c9766a lightnvm: move block fold outside of get_bb_tbl()
The get block table command returns a list of blocks and planes
with their associated state. Users, such as gennvm and sysblk,
manages all planes as a single virtual block.

It was therefore  natural to fold the bad block list before it is
returned. However, to allow users, which manages on a per-plane
block level, to also use the interface, the get_bb_tbl interface is
changed to not fold by default and instead let the caller fold if
necessary.

Reviewed by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-05-06 12:51:10 -06:00
..
core.c lightnvm: move block fold outside of get_bb_tbl() 2016-05-06 12:51:10 -06:00
gennvm.c lightnvm: move block fold outside of get_bb_tbl() 2016-05-06 12:51:10 -06:00
gennvm.h lightnvm: specify target's logical address area 2016-03-18 18:10:37 -07:00
Kconfig lightnvm: do not compile in debugging by default 2015-12-07 09:14:20 -07:00
Makefile lightnvm: core on-disk initialization 2016-01-12 08:21:18 -07:00
rrpc.c lightnvm: add a bitmap of luns 2016-03-18 18:10:38 -07:00
rrpc.h lightnvm: specify target's logical address area 2016-03-18 18:10:37 -07:00
sysblk.c lightnvm: move block fold outside of get_bb_tbl() 2016-05-06 12:51:10 -06:00