OpenCloudOS-Kernel/drivers/lightnvm
Javier González 29fd20b8e6 lightnvm: do not load L2P table if not supported
An Open-Channel SSD can work on two modes: (i) hybrid mode, where the
L2P table is maintained both by the host and by the device; and (ii)
full host-based, where the L2P table is uniquely maintained by the host.

In the advent of a new target implementing the full host-based mode, do
not assume that the L2P table must be loaded on the generic media
manager; check device properties loaded on the identify command instead.

Signed-off-by: Javier González <javier@cnexlabs.com>
Moved into the following statement.
Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-03-18 18:10:38 -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
core.c lightnvm: add a bitmap of luns 2016-03-18 18:10:38 -07:00
gennvm.c lightnvm: do not load L2P table if not supported 2016-03-18 18:10:38 -07:00
gennvm.h lightnvm: specify target's logical address area 2016-03-18 18:10:37 -07:00
rrpc.c lightnvm: add a bitmap of luns 2016-03-18 18:10:38 -07:00
rrpc.h lightnvm: specify target's logical address area 2016-03-18 18:10:37 -07:00
sysblk.c lightnvm: introduce factory reset 2016-01-12 08:21:18 -07:00