+1
−1
Loading
The bahavior of spdk_sock_flush() was changed in 5433004e to return the number of flushed bytes and -1 with errno set to EAGAIN in case nothing has been flushed (instead of returning 0). Therefore, we shouldn't treat EAGAIN as an error in nvme_tcp_qpair_process_completions(). Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I5473488b5b408cdc739921046f1a0cc2c98f98de Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16643 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>