numam-spdk/lib/ftl
Wojciech Malikowski b9e462e4a6 lib/ftl: Fix band's metadata inconsistency with L2P
Added check before write submission to indicate if
LBA was update in meantime. In such case don't set band's
metadata and rwb entry cache bit. Previous implementation
invalidates such address during write completion and could
cause that inconsistent lba map was stored into disk.

Change-Id: I4353d9f96c53132ca384aeca43caef8d11f07fa4
Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/444403
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-02-15 21:42:14 +00:00
..
ftl_anm.c check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
ftl_anm.h check_format: Verify #include syntax 2019-01-29 00:12:07 +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 lib/ftl: Fix band's metadata inconsistency with L2P 2019-02-15 21:42:14 +00:00
ftl_core.h ftl: Added trace support 2019-01-18 18:58:04 +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_init.c lib/ftl: Remove NULL pointer checks in external APIs 2019-02-08 16:35:34 +00:00
ftl_io.c lib/ftl: fix IO metadata pointer initialization 2019-02-04 20:51:37 +00:00
ftl_io.h ftl: Added trace support 2019-01-18 18:58:04 +00:00
ftl_ppa.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_reloc.c lib/ftl: Change order of relocation queues processing 2019-02-05 18:02:15 +00:00
ftl_reloc.h check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
ftl_restore.c ftl: Restore state from the SSD 2019-01-17 20:58:57 +00:00
ftl_rwb.c ftl: Added unit tests for FTL library 2019-01-22 23:22:16 +00:00
ftl_rwb.h ftl: Added trace support 2019-01-18 18:58:04 +00:00
ftl_trace.c ftl: Added trace support 2019-01-18 18:58:04 +00:00
ftl_trace.h ftl: Added trace support 2019-01-18 18:58:04 +00:00
Makefile ftl: Added trace support 2019-01-18 18:58:04 +00:00