linux/drivers/lightnvm
Matias Bjørling dab8ee9e8a lightnvm: cleanup nvm transformation functions
Going from target specific ppa addresses to device was accomplished by
first converting target to generic ppa addresses and generic to device
addresses. The conversion was either open-coded or used the built-in
nvm_trans_* and nvm_map_* functions for conversion. Simplify the
interface and cleanup the calls to provide clean functions that now
either take a list of ppas or a nvm_rq, and is exposed through:

 void nvm_ppa_* - target to/from device with a list of PPAs,
 void nvm_rq_* - target to/from device with a nvm_rq.

Signed-off-by: Matias Bjørling <matias@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-01-31 08:32:13 -07:00
..
core.c lightnvm: cleanup nvm transformation functions 2017-01-31 08:32:13 -07: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
rrpc.c lightnvm: transform target get/set bad block 2016-11-29 12:12:51 -07:00
rrpc.h lightnvm: use target nvm on target-specific ops. 2016-11-29 12:12:51 -07:00