+56
−68
Loading
Since we already allocate ->sg on a per-request basis now, drop the ->reqs_internal allocation in favour of allocating individual requests and placing them on the ->free_reqs queue, which simplifies the need to track the array. For request abort, we'll use the ->outstanding request list, now we have it, to find the victim request. Signed-off-by:John Levon <john.levon@nutanix.com> Change-Id: I25227ccd2ab7e00c8a2e7b2e2af2dc3b073584cd Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11427 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:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>