+14
−16
Loading
`io_uring_peek_cqe` will only return `-EAGAIN` as an error, or there is a valid CQE entry, then we can check `cqe->res` for further processing. Also return correct value for pollers. Change-Id: If82744291b1b0bf42cb1cf2d9ab1524732ff8b40 Signed-off-by:Changpeng Liu <changpeliu@tencent.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25486 Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
GangCao <gang.cao@intel.com> Reviewed-by:
Ben Walker <ben@nvidia.com>