Loading
bdev/nvme: Remove assert() to detect ANA change for inactive namespace
nvme_ctrlr_set_ana_states() was good but it had undesirable assert(). nvme_ctrlr_set_ana_states() could handle the case that target sent ANA change for inactive namespaces, but hit assert() for the case. The case was observed in real environment. Remove the undesirable assert() and add unit test case to avoid future degradation. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Suggested-by:
Kaushik Chug <kaushik.chug@ngxstorage.com> Change-Id: If77fdb1180e759b6b7ede8dc8802513d8937c2b4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24165 Community-CI: Mellanox Build Bot Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Kaushik Chug Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com>