linux/drivers/lightnvm
Matias Bjørling 5ebc7d9fe1 lightnvm: make nvm_set_rqd_ppalist() aware of vblks
A virtual block enables a block to identify multiple physical blocks.
This is useful for metadata where a device media supports multiple
planes. In that case, a block, with multiple planes can be managed
as a single vblk. Reducing the metadata required by one forth.

nvm_set_rqd_ppalist() takes care of expanding a ppa_list with vblks
automatically. However, for some use-cases, where only a single physical
block is required, the ppa_list should not be expanded.

Therefore, add a vblk parameter to nvm_set_rqd_ppalist(), and only
expand the ppa_list if vblk is set.

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: make nvm_set_rqd_ppalist() aware of vblks 2016-05-06 12:51:10 -06:00
gennvm.c lightnvm: refactor device ops->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: rename nvm_targets to nvm_tgt_type 2016-05-06 12:51:10 -06:00
rrpc.h lightnvm: specify target's logical address area 2016-03-18 18:10:37 -07:00
sysblk.c lightnvm: make nvm_set_rqd_ppalist() aware of vblks 2016-05-06 12:51:10 -06:00