numam-spdk/lib/ftl
Wojciech Malikowski c10c9bf767 lib/ftl: Evict valid cache entries when destroying io channel
When io channel is being destroyed some of its write
buffer entries could still be a valid cache entry.
This patch evicts all entries during io channel destroy
to keep consistent l2p table.

fixes issue #1434

Change-Id: I4e1cd206102c1f565b0f3e2dc90b5c2b3ed3d28c
Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2964
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
2020-06-22 15:48:47 +00:00
..
ftl_addr.h lib/ftl: Represent ftl_addr just with the offset value 2020-01-17 08:59:08 +00:00
ftl_band.c lib/ftl: use per-io_channel write buffers 2020-03-02 10:27:06 +00:00
ftl_band.h lib/ftl: Do not check busy flag when appending 2020-06-04 07:20:34 +00:00
ftl_core.c lib/ftl: Evict valid cache entries when destroying io channel 2020-06-22 15:48:47 +00:00
ftl_core.h lib/ftl: Evict valid cache entries when destroying io channel 2020-06-22 15:48:47 +00:00
ftl_debug.c lib/ftl: Change "lbk" name to "block" 2020-01-17 08:59:08 +00:00
ftl_debug.h lib: replace fprintf(stderr,) by SPDK_ERRLOG 2020-05-07 10:42:40 +00:00
ftl_init.c lib/ftl: Evict valid cache entries when destroying io channel 2020-06-22 15:48:47 +00:00
ftl_io.c lib/ftl: use per-io_channel write buffers 2020-03-02 10:27:06 +00:00
ftl_io.h lib/ftl: Check if IO channel is fully initialized 2020-03-10 09:12:38 +00:00
ftl_reloc.c lib/ftl: use per-io_channel write buffers 2020-03-02 10:27:06 +00:00
ftl_reloc.h lib/ftl: Change "lbk" name to "block" 2020-01-17 08:59:08 +00:00
ftl_restore.c lib/ftl: use per-io_channel write buffers 2020-03-02 10:27:06 +00:00
ftl_trace.c lib/ftl: Keep tracing functions under define flag 2020-06-05 09:03:31 +00:00
ftl_trace.h lib/ftl: Keep tracing functions under define flag 2020-06-05 09:03:31 +00:00
Makefile mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
spdk_ftl.map lib/ftl: Add a map file. 2020-04-22 09:21:55 +00:00