+5
−7
Loading
Upcoming patches will remove the await_req TAILQ, so simplify the code here for now to just always count processing a tqpair on this TAILQ as an event, and don't return error status if one of the tqpairs fails processing. This technically is more correct anyways. The upper layer aggregates the return value from all of the transports, so returning a negative value on error could mess up accounting (i.e. TCP returns -1, RDMA returns 1, they cancel each other out...) Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: I0bad2be71edf7c046b6543a05efd0165f5166136 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25173 Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Reviewed-by:
Ben Walker <ben@nvidia.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot