+11
−3
Loading
This avoids an infite loop when user sends and then immediately aborts all requests while the transport cannot submit them (returning -EAGAIN). It might happen in two cases: 1) if the transport doesn't have any free requests or 2) if the qpair is still in the NVME_QPAIR_CONNECTING state. Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ia1d0b7c93f387524be0ad39597ec49851e1d3af7 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8711 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>