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
..
2019-01-29 00:12:07 +00:00
2019-01-29 00:12:07 +00:00
2019-01-11 09:15:39 +00:00
2019-01-18 18:58:04 +00:00
2019-01-11 09:15:39 +00:00
2019-01-11 09:15:39 +00:00
2019-01-18 18:58:04 +00:00
2019-01-11 09:15:39 +00:00
2019-01-17 20:58:57 +00:00
2019-01-18 18:58:04 +00:00
2019-01-18 18:58:04 +00:00
2019-01-18 18:58:04 +00:00
2019-01-18 18:58:04 +00:00