linux-stable/drivers/lightnvm
Javier González e46f4e4822 lightnvm: simplify geometry structure
Currently, the device geometry is stored redundantly in the nvm_id and
nvm_geo structures at a device level. Moreover, when instantiating
targets on a specific number of LUNs, these structures are replicated
and manually modified to fit the instance channel and LUN partitioning.

Instead, create a generic geometry around nvm_geo, which can be used by
(i) the underlying device to describe the geometry of the whole device,
and (ii) instances to describe their geometry independently.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-03-29 17:29:09 -06:00
..
core.c lightnvm: simplify geometry structure 2018-03-29 17:29:09 -06:00
Kconfig lightnvm: remove rrpc 2018-01-05 08:50:12 -07:00
Makefile lightnvm: remove rrpc 2018-01-05 08:50:12 -07:00
pblk-cache.c lightnvm: pblk: export write amplification counters to sysfs 2018-03-29 17:29:09 -06:00
pblk-core.c lightnvm: simplify geometry structure 2018-03-29 17:29:09 -06:00
pblk-gc.c lightnvm: simplify geometry structure 2018-03-29 17:29:09 -06:00
pblk-init.c lightnvm: simplify geometry structure 2018-03-29 17:29:09 -06:00
pblk-map.c lightnvm: pblk: export write amplification counters to sysfs 2018-03-29 17:29:09 -06:00
pblk-rb.c lightnvm: pblk: prevent race in pblk_rb_flush_point_set 2018-03-29 17:29:09 -06:00
pblk-read.c lightnvm: simplify geometry structure 2018-03-29 17:29:09 -06:00
pblk-recovery.c lightnvm: simplify geometry structure 2018-03-29 17:29:09 -06:00
pblk-rl.c lightnvm: simplify geometry structure 2018-03-29 17:29:09 -06:00
pblk-sysfs.c lightnvm: simplify geometry structure 2018-03-29 17:29:09 -06:00
pblk-write.c lightnvm: simplify geometry structure 2018-03-29 17:29:09 -06:00
pblk.h lightnvm: simplify geometry structure 2018-03-29 17:29:09 -06:00