linux-sg2042/drivers/lightnvm
Javier González 116f7d4a21 lightnvm: reserved space calculation incorrect
The nvm_dev->max_pages_per_blk variable was removed in favor of the new
nvm->sec_per_blk variable. The ->max_pages_per_blk variable was still
used in rrpc_capacity, reporting the reserved capacity to zero. Replace
with ->sec_per_blk to calculate the reserved area again.

Signed-off-by: Javier González <javier@cnexlabs.com>
Updated patch description. Was "lightnvm: eliminate redundant variable"
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
..
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
core.c lightnvm: rename nr_pages to nr_ppas on nvm_rq 2016-05-06 12:51:10 -06:00
gennvm.c lightnvm: rename nr_pages to nr_ppas on nvm_rq 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
rrpc.c lightnvm: reserved space calculation incorrect 2016-05-06 12:51:10 -06:00
rrpc.h lightnvm: rename nr_pages to nr_ppas on nvm_rq 2016-05-06 12:51:10 -06:00
sysblk.c lightnvm: rename nr_pages to nr_ppas on nvm_rq 2016-05-06 12:51:10 -06:00