+14
−9
Loading
This reverts commit 79215d80. Reason: Find the bugs while using batched. For example, if we fetch 3 CQEs, A, B, C and put it in a cqes[] array. Then we leverage io uring cqe seen to handle, Then we handle the CQE A, then invokes the call back related with A. In A's call back, it may also call the reap function (sock_uring_group_reap), then the CQEs will be handled again. Thus the CQEs B and C can be already handled. Then we will handle B or C again, then it triggers the error. Signed-off-by:Ziye Yang <ziye.yang@intel.com> Change-Id: I67ece3b24e677b88d66d08722b00539693b42e1e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2543 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>