Spdk/test/unit/lib/ftl/ftl_wptr
Konrad Sztyber 1f133d7279 lib/ftl: track defragged bands in ftl_reloc
Track the band under defrag inside the reloc module.  This allows for
multiple bands being defragged at the same time (e.g. extra one due to
write fault) as well as makes it easier to handle cases when relocating
a band that has no valid blocks.

Change-Id: Ia54916571040f5f4dfdb8f7cdb47f28435a466d8
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/465937
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Mateusz Kozlowski <mateusz.kozlowski@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-08-27 18:55:40 +00:00
..
.gitignore test/unit/ftl: Add unit test for write pointer functionality 2019-02-20 21:46:58 +00:00
ftl_wptr_ut.c lib/ftl: track defragged bands in ftl_reloc 2019-08-27 18:55:40 +00:00
Makefile test/unit/ftl: Add unit test for write pointer functionality 2019-02-20 21:46:58 +00:00