linux/drivers/lightnvm
Javier González d7a64d275b lightnvm: reference rrpc lun in rrpc block
Currently, a rrpc block only points to its nvm_lun. If a user wants to
find the associated rrpc lun, it will have to calculate the index and
look it up manually. By referencing the rrpc lun directly, this step can
be omitted, at the cost of a larger memory footprint.

This is important for upcoming patches that implement write buffering in
rrpc.

Signed-off-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-01-12 08:21:17 -07:00
..
core.c lightnvm: introduce nvm_submit_ppa 2016-01-12 08:21:17 -07:00
gennvm.c lightnvm: move rq->error to nvm_rq->error 2016-01-12 08:21:17 -07:00
gennvm.h lightnvm: update bad block table format 2015-11-16 15:20:25 -07:00
Kconfig lightnvm: do not compile in debugging by default 2015-12-07 09:14:20 -07:00
Makefile rrpc: Round-robin sector target with cost-based gc 2015-10-29 16:21:42 +09:00
rrpc.c lightnvm: reference rrpc lun in rrpc block 2016-01-12 08:21:17 -07:00
rrpc.h lightnvm: reference rrpc lun in rrpc block 2016-01-12 08:21:17 -07:00