numam-spdk/lib/ftl
Wojciech Malikowski 5c8f369a41 ftl: Restore state from the SSD
This patch adds the ability to restore the state of the block device
from the SSD, by reading the metadata stored in each band and recover
the L2P (LBA -> PPA map). Only clean shutdown is supported as of yet.

Change-Id: I03e39510a902b098c52edfaedd2e61b43a297bda
Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Signed-off-by: Mateusz Kozlowski <mateusz.kozlowski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/431325
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
2019-01-17 20:58:57 +00:00
..
ftl_anm.c ftl: Gathering asynchronous NAND management events 2019-01-11 09:15:39 +00:00
ftl_anm.h ftl: Gathering asynchronous NAND management events 2019-01-11 09:15:39 +00:00
ftl_band.c ftl: Added relocate module 2019-01-11 09:15:39 +00:00
ftl_band.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_core.c ftl: Gathering asynchronous NAND management events 2019-01-11 09:15:39 +00:00
ftl_core.h ftl: Gathering asynchronous NAND management events 2019-01-11 09:15:39 +00:00
ftl_debug.c ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_debug.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_io.c ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_io.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_ppa.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_reloc.c ftl: Added relocate module 2019-01-11 09:15:39 +00:00
ftl_reloc.h ftl: Added relocate module 2019-01-11 09:15:39 +00:00
ftl_restore.c ftl: Restore state from the SSD 2019-01-17 20:58:57 +00:00
ftl_rwb.c ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_rwb.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_trace.h ftl: Initial headers 2019-01-11 09:15:39 +00:00
Makefile ftl: Restore state from the SSD 2019-01-17 20:58:57 +00:00