Spdk/lib/ftl
Wojciech Malikowski f545e3009f lib/ftl: Fix condition for moving zone state to full
This patch fixes condition used to change zone state.
Zone write pointer is an offset from disk beginning and
was wrongly used as an offset from zone.

Change-Id: I6cd42c6db78003812ec6d6bc75550bb7a5b067ca
Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/954
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Maciej Szczepaniak <maciej.szczepaniak@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-02-19 13:37:37 +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: Set zone state to "full" when all writes to it are completed 2020-02-10 10:24:38 +00:00
ftl_band.h lib/ftl: Move zone reset logic from band to core 2020-02-10 10:24:38 +00:00
ftl_core.c lib/ftl: Fix condition for moving zone state to full 2020-02-19 13:37:37 +00:00
ftl_core.h lib/ftl: Init/fini context moved from dev structure to init module 2020-02-10 10:40:26 +00:00
ftl_debug.c lib/ftl: Change "lbk" name to "block" 2020-01-17 08:59:08 +00:00
ftl_debug.h lib/ftl: Represent ftl_addr just with the offset value 2020-01-17 08:59:08 +00:00
ftl_init.c lib/ftl: Init/fini context moved from dev structure to init module 2020-02-10 10:40:26 +00:00
ftl_io.c lib/ftl: Change "lbk" name to "block" 2020-01-17 08:59:08 +00:00
ftl_io.h lib/ftl: Change "lbk" name to "block" 2020-01-17 08:59:08 +00:00
ftl_reloc.c lib/ftl: Change "lbk" name to "block" 2020-01-17 08:59:08 +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: Init/fini context moved from dev structure to init module 2020-02-10 10:40:26 +00:00
ftl_rwb.c lib/ftl: track number of pending write buffer entries 2019-09-04 18:42:57 +00:00
ftl_rwb.h lib/ftl: Replace ftl_ppa struct with ftl_addr 2020-01-10 08:42:51 +00:00
ftl_trace.c lib/ftl: Change "lbk" name to "block" 2020-01-17 08:59:08 +00:00
ftl_trace.h lib/ftl: Replace ftl_ppa struct with ftl_addr 2020-01-10 08:42:51 +00:00
Makefile lib/ftl: ANM logic removal 2020-01-10 08:42:51 +00:00