linux/drivers/lightnvm
Javier González 8176117b82 lightnvm: manage lun partitions internally in mm
LUNs are exclusively owned by targets implementing a block device FTL.
Doing this reservation requires at the moment a 2-way callback gennvm
<-> target. The reason behind this is that LUNs were not assumed to
always be exclusively owned by targets. However, this design decision
goes against I/O determinism QoS (two targets would mix I/O on the same
parallel unit in the device).

This patch makes LUN reservation as part of the target creation on the
media manager. This makes that LUNs are always exclusively owned by the
target instantiated on top of them. LUN stripping and/or sharing should
be implemented on the target itself or the layers on top.

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-11-29 12:12:51 -07:00
..
core.c lightnvm: remove sysfs configuration interface 2016-11-29 12:12:51 -07:00
gennvm.c lightnvm: manage lun partitions internally in mm 2016-11-29 12:12:51 -07:00
gennvm.h lightnvm: remove gen_lun abstraction 2016-11-29 12:12:51 -07:00
Kconfig lightnvm: NVM should depend on HAS_DMA 2016-09-21 07:56:10 -06:00
Makefile nvme: lightnvm: attach lightnvm sysfs to nvme block device 2016-11-29 12:12:51 -07:00
rrpc.c lightnvm: manage lun partitions internally in mm 2016-11-29 12:12:51 -07:00
rrpc.h lightnvm: remove unnecessary variables in rrpc 2016-11-29 12:12:51 -07:00
sysblk.c lightnvm: export set bad block table 2016-11-29 12:12:51 -07:00