numam-spdk/lib/ftl
Wojciech Malikowski c5c102ce55 lib/ftl: Fix band picking for write pointer
Removing band from "free list" is moved from FTL_BAND_STATE_OPENING
to FTL_BAND_STATE_PREP state's change actions.
This will fix race condition when one band is prepared (erased)
and write pointer is trying to get next active band.

Change-Id: I9e4fe9482a01ee732271736e4a0e6fcedf2582d8
Signed-off-by: Wojciech Malikowski <wojciech.malikowski@intel.com>
Reviewed-on: https://review.gerrithub.io/c/445118
Reviewed-by: Jakub Radtke <jakub.radtke@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-02-25 22:37:44 +00:00
..
ftl_anm.c check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
ftl_anm.h check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
ftl_band.c lib/ftl: Fix band picking for write pointer 2019-02-25 22:37:44 +00:00
ftl_band.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_core.c lib/ftl: Propagate ENOMEM error during read to upper layer 2019-02-25 22:37:13 +00:00
ftl_core.h ftl: Added trace support 2019-01-18 18:58:04 +00:00
ftl_debug.c ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_debug.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_init.c lib/ftl: Remove NULL pointer checks in external APIs 2019-02-08 16:35:34 +00:00
ftl_io.c lib/ftl: fix IO metadata pointer initialization 2019-02-04 20:51:37 +00:00
ftl_io.h ftl: Added trace support 2019-01-18 18:58:04 +00:00
ftl_ppa.h ftl: Initial implementation 2019-01-11 09:15:39 +00:00
ftl_reloc.c lib/ftl: Change order of relocation queues processing 2019-02-05 18:02:15 +00:00
ftl_reloc.h check_format: Verify #include syntax 2019-01-29 00:12:07 +00:00
ftl_restore.c ftl: Restore state from the SSD 2019-01-17 20:58:57 +00:00
ftl_rwb.c lib/ftl: Fix size of write buffer submission queue 2019-02-22 19:13:40 +00:00
ftl_rwb.h ftl: Added trace support 2019-01-18 18:58:04 +00:00
ftl_trace.c ftl: Added trace support 2019-01-18 18:58:04 +00:00
ftl_trace.h ftl: Added trace support 2019-01-18 18:58:04 +00:00
Makefile ftl: Added trace support 2019-01-18 18:58:04 +00:00