linux/drivers/lightnvm
Igor Konopko 847a3a2788 lightnvm: pblk: reduce L2P memory footprint
Currently L2P map size is calculated based on the total number of
available sectors, which is redundant, since it contains mapping for
overprovisioning as well (11% by default).

Change this size to the real capacity and thus reduce the memory
footprint significantly - with default op value it is approx.
110MB of DRAM less for every 1TB of media.

Signed-off-by: Igor Konopko <igor.j.konopko@intel.com>
Reviewed-by: Hans Holmberg <hans.holmberg@cnexlabs.com>
Reviewed-by: Javier González <javier@javigon.com>
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-05-06 10:19:16 -06:00
..
core.c lightnvm: dynamic DMA pool entry size 2018-12-11 12:22:35 -07:00
Kconfig lightnvm: remove dependencies on BLK_DEV_NVME and PCI 2018-10-09 08:25:05 -06:00
Makefile lightnvm: remove rrpc 2018-01-05 08:50:12 -07:00
pblk-cache.c lightnvm: pblk: add SPDX license tag 2018-10-09 08:25:08 -06:00
pblk-core.c lightnvm: pblk: reduce L2P memory footprint 2019-05-06 10:19:16 -06:00
pblk-gc.c lightnvm: pblk: rollback on error during gc read 2019-05-06 10:19:16 -06:00
pblk-init.c lightnvm: pblk: reduce L2P memory footprint 2019-05-06 10:19:16 -06:00
pblk-map.c lightnvm: pblk: fix race condition on GC 2019-02-11 08:18:08 -07:00
pblk-rb.c lightnvm: pblk: fix race condition on GC 2019-02-11 08:18:08 -07:00
pblk-read.c lightnvm: pblk: reduce L2P memory footprint 2019-05-06 10:19:16 -06:00
pblk-recovery.c lightnvm: pblk: reduce L2P memory footprint 2019-05-06 10:19:16 -06:00
pblk-rl.c pblk: fix max_io calculation 2019-03-07 08:59:26 -07:00
pblk-sysfs.c lightnvm: pblk: support packed metadata 2018-12-11 12:22:35 -07:00
pblk-trace.h lightnvm: pblk: fix TRACE_INCLUDE_PATH 2019-02-11 08:18:07 -07:00
pblk-write.c lightnvm: pblk: fix race condition on GC 2019-02-11 08:18:08 -07:00
pblk.h lightnvm: pblk: reduce L2P memory footprint 2019-05-06 10:19:16 -06:00