Spdk/lib/ftl
Kozlowski Mateusz a7f4a2db7f lib/ftl: Validate l2p_dram_limit parameter
Disallow 0 value as parameter - avoids a segmentation fault.

Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
Signed-off-by: Mateusz Brenk <mateusz.brenk@intel.com>
Change-Id: I492256ff621da3be11239d2fd705d8cc54bfe7b7
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15256
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
2022-11-22 10:01:30 +00:00
..
mngt update Intel copyright notices 2022-11-10 08:28:53 +00:00
upgrade update Intel copyright notices 2022-11-10 08:28:53 +00:00
utils lib/ftl: Validate l2p_dram_limit parameter 2022-11-22 10:01:30 +00:00
ftl_band_ops.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_band.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_band.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_core.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_core.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_debug.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_debug.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_init.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_internal.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_io.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_io.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_l2p_cache.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_l2p_cache.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_l2p_flat.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_l2p_flat.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_l2p.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_l2p.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_layout.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_layout.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_nv_cache_io.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_nv_cache.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_nv_cache.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_p2l.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_reloc.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_rq.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_sb_common.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_sb_current.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_sb.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_sb.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_trace.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_trace.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_utils.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_writer.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl_writer.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_ftl.map ftl: I/O statistics 2022-09-20 19:24:26 +00:00