Loading
nvme: Fix discovery loop when target has no entry
When a target returns no discovery entry, we may enter in a loop of discovery because we don't correctly set start_genctr. So the exit condition of the loop `ctx->start_genctr == ctx->end_genctr` is never achieved. Change-Id: I1fed834f6a2da1099bddcf7599408f01831288a1 Signed-off-by:Alex Michon <amichon@kalrayinc.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25457 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by:
Changpeng Liu <changpeliu@tencent.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>