+0
−2
Loading
In particular, cache cntlid, nsze and ncap to make sure namespaces can be properly created and attached to. The test was assuming that the ns should be attached with a controllers' list always set to 0, however, that doesn't have to be the case for every nvme (the difference was noticed under SAMSUNG MZQL21T9HCJR-00A07). Same goes for the formatted block size where we cannot assume it's 512 bytes as it depends on the active lbaf. cherry-pick: 8ecf7ae5 Signed-off-by:Michal Berger <michal.berger@intel.com> Change-Id: Iac9902052e8b2db44ede2b5178372d65c07b5b4a Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17029 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>