mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 23:34:05 +08:00
847a3a2788
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> |
||
---|---|---|
.. | ||
core.c | ||
Kconfig | ||
Makefile | ||
pblk-cache.c | ||
pblk-core.c | ||
pblk-gc.c | ||
pblk-init.c | ||
pblk-map.c | ||
pblk-rb.c | ||
pblk-read.c | ||
pblk-recovery.c | ||
pblk-rl.c | ||
pblk-sysfs.c | ||
pblk-trace.h | ||
pblk-write.c | ||
pblk.h |