fb15434659
Remember current write position within the cache when shutting down. It allows for faster recovery after clean shutdown (no need to scan the device) as well as grants a quick way to distinguish between clean and dirty shutdowns. Change-Id: I79c22caa0b1ca4373951ac43f747b085d331cdd0 Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/460796 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Wojciech Malikowski <wojciech.malikowski@intel.com> Reviewed-by: Mateusz Kozlowski <mateusz.kozlowski@intel.com> |
||
---|---|---|
.. | ||
ftl_anm.c | ||
ftl_anm.h | ||
ftl_band.c | ||
ftl_band.h | ||
ftl_core.c | ||
ftl_core.h | ||
ftl_debug.c | ||
ftl_debug.h | ||
ftl_init.c | ||
ftl_io.c | ||
ftl_io.h | ||
ftl_ppa.h | ||
ftl_reloc.c | ||
ftl_reloc.h | ||
ftl_restore.c | ||
ftl_rwb.c | ||
ftl_rwb.h | ||
ftl_trace.c | ||
ftl_trace.h | ||
Makefile |