Spdk/lib/ftl
Konrad Sztyber cf3d42961b lib/ftl: flush the write buffer during nv_cache recovery
When recovering the data from the non-volatile cache, the data inside
the volatile cache needs to be flushed before flushing active bands.
Otherwise, if the number of blocks in a band is smaller than the number
of blocks inside the volatile cache, part of the data may not get
flushed.

Change-Id: I4e99709c8c2a526a928578870d7fbd5fef37db02
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466883
Reviewed-by: Mateusz Kozlowski <mateusz.kozlowski@intel.com>
Reviewed-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-09-04 18:42:57 +00:00
..
ftl_anm.c lib/ftl: Enable ANM events handling 2019-07-03 04:28:13 +00:00
ftl_anm.h lib/ftl: Enable ANM events handling 2019-07-03 04:28:13 +00:00
ftl_band.c lib/ftl: track defragged bands in ftl_reloc 2019-08-27 18:55:40 +00:00
ftl_band.h lib/ftl: keep reloc traffic out of non-volatile cache 2019-07-12 12:39:38 +00:00
ftl_core.c lib/ftl: flush the write buffer during nv_cache recovery 2019-09-04 18:42:57 +00:00
ftl_core.h lib/ftl: flush the write buffer during nv_cache recovery 2019-09-04 18:42:57 +00:00
ftl_debug.c lib/ftl: Track cached lba map segments 2019-06-11 06:21:46 +00:00
ftl_debug.h lib/ftl: Remove ftl_md struct from band 2019-06-07 04:39:14 +00:00
ftl_init.c lib/ftl: IO channel handling for nv cache 2019-08-29 18:10:19 +00:00
ftl_io.c lib/ftl: Update initialization of io channel 2019-08-12 21:37:13 +00:00
ftl_io.h lib/ftl: allow writes bypassing non-volatile cache 2019-07-12 12:39:38 +00:00
ftl_ppa.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_reloc.c lib/ftl: track defragged bands in ftl_reloc 2019-08-27 18:55:40 +00:00
ftl_reloc.h lib/ftl: track defragged bands in ftl_reloc 2019-08-27 18:55:40 +00:00
ftl_restore.c lib/ftl: flush the write buffer during nv_cache recovery 2019-09-04 18:42:57 +00:00
ftl_rwb.c lib/ftl: Remove buffer alignment requirements 2019-07-23 04:00:05 +00:00
ftl_rwb.h lib/ftl: keep reloc traffic out of non-volatile cache 2019-07-12 12:39:38 +00:00
ftl_trace.c lib/ftl: Remove ftl_md struct from band 2019-06-07 04:39:14 +00:00
ftl_trace.h lib/ftl: traces refactor 2019-04-01 09:05:33 +00:00
Makefile ftl: Added trace support 2019-01-18 18:58:04 +00:00