c5c102ce55
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>