Spdk/lib/ftl
Wojciech Malikowski e13c1ffbc3 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 (master)
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/447582
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-03-12 05:07:21 +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 lib/ftl: Fix band picking for write pointer 2019-03-08 19:07:18 +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-03-12 05:07:21 +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 ftl: verify LBA format is supported 2019-01-29 06:51:46 +00:00
ftl_io.c ftl: Added trace support 2019-01-18 18:58:04 +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 check_format: Verify #include syntax 2019-01-29 00:12:07 +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