Loading
bdev/nvme: move to next nsid on nvme_ns_alloc() failure
The while() loop would just continously use the same nsid when nvme_ns_alloc() fails. Right now it only fails on allocation failures, not really any action that would help with progressin the namespace attachment. Just move onto next nsid in this case. Issue found by code inspection. Change-Id: Ib6c13174521e5d887e28f7478c6ad531cb167935 Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@nutanix.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26521 Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Jacek Kalwas <jacek.kalwas@nutanix.com>