linux_dsm_epyc7002/drivers/lightnvm
Wenwei Tao 66e3d07f75 lightnvm: calculate rrpc total blocks and sectors up front
Calculate rrpc total blocks and sectors up front, make sense
to use them. For example, we use rrpc->nr_sects to calculate rrpc
area size, but it makes no sense if we don't initialize it up front,
since it would be zero until we finish rrpc luns init.

Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com>
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
..
core.c lightnvm: avoid memory leak when lun_map kcalloc fails 2016-05-06 12:51:10 -06:00
gennvm.c lightnvm: move block fold outside of get_bb_tbl() 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
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
rrpc.c lightnvm: calculate rrpc total blocks and sectors up front 2016-05-06 12:51:10 -06:00
rrpc.h lightnvm: specify target's logical address area 2016-03-18 18:10:37 -07:00
sysblk.c lightnvm: move block fold outside of get_bb_tbl() 2016-05-06 12:51:10 -06:00