Spdk/lib/ftl/utils
Artur Paszkiewicz 0f99700db9 ftl: user write limits
Calculates general priorities and trigger points for writers
(gc and compaction) dependent on number of free bands. GC will
be started at SPDK_FTL_LIMIT_START level, while at SPDK_FTL_LIMIT_CRIT
compaction needs to be stopped and only GC is allowed to work.
This is done to make sure FTL doesn't run out of free bands and deadlock
itself.

Signed-off-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
Change-Id: I1aab98503c2e79e97f8e4e9fb1257530fa9770e2
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13326
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-08-18 19:09:50 +00:00
..
ftl_addr_utils.h FTL: Add address store/load utils 2022-08-12 09:01:40 +00:00
ftl_conf.c ftl: user write limits 2022-08-18 19:09:50 +00:00
ftl_conf.h FTL: Add FTL bdev module 2022-07-25 07:19:29 +00:00
ftl_defs.h FTL: Add band structure and helper functions 2022-08-18 19:09:50 +00:00
ftl_log.h ftl: device startup and shutdown 2022-07-21 10:53:01 +00:00
ftl_md.c FTL: Initial nv cache structure 2022-08-12 09:01:40 +00:00
ftl_md.h ftl: metadata utils and initialization 2022-07-21 10:53:01 +00:00
ftl_mempool.c lib/ftl: Fix -Wunused-function under clang 2022-08-04 07:30:59 +00:00
ftl_mempool.h FTL: Add ftl mempools 2022-08-02 19:00:42 +00:00