+11
−5
Loading
Band's lba_map needs to be set to NULL before restore completes, as it's not allocated on a per band basis and instead uses a pool from restore struct itself. Without the fix initializing a band for writing would hit an assert during proper allocation in ftl_band_alloc_lba_map. Signed-off-by:Mateusz Kozlowski <mateusz.kozlowski@intel.com> Change-Id: Icff4f54cbe722cb6030b9dfd55726b9b0d6c1e27 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458422 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Wojciech Malikowski <wojciech.malikowski@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>