Spdk/test/unit/lib/ftl
Wojciech Malikowski 2cc6bd2a26 lib/ftl: Skip block with ongoing write during relocation
In case ANM event occurs on open band there
can be situation that reloc will try to read
block on which there is ongoing write.
This is happening because lba valid map is
updated before write  submission to allow sent
consistent metadata to disk before all user
writes are completed.

Added write offset to the each chunk and
add check to reloc if particular ppa is written
on that chunk.

Change-Id: Ic95a06e69381d2152a86984b65a0975afaff955d
Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458056
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-07-01 03:29:00 +00:00
..
common lib/ftl: Remove ftl_md struct from band 2019-06-07 04:39:14 +00:00
ftl_band.c lib/ftl: Remove ftl_md struct from band 2019-06-07 04:39:14 +00:00
ftl_io.c lib/ftl: Add ftl_io argument to internal I/O callbacks 2019-06-07 18:26:57 +00:00
ftl_md lib/ftl: Mark all lba map segments as cached for open bands 2019-07-01 03:29:00 +00:00
ftl_ppa lib/ftl: Fix ppa pack function 2019-06-26 08:38:32 +00:00
ftl_reloc.c lib/ftl: Skip block with ongoing write during relocation 2019-07-01 03:29:00 +00:00
ftl_rwb.c lib/ftl: consider 3D TLC NAND read unit size 2019-05-24 23:29:22 +00:00
ftl_wptr lib/ftl: Track cached lba map segments 2019-06-11 06:21:46 +00:00
Makefile lib/ftl: allow parent/child relations between IOs 2019-04-24 21:57:06 +00:00