Instead, we pass MSG_DONTWAIT flag to all recvmsg()/sendmsg() calls. That way, the IOs remain non-blocking, but the socket is marked as blocking allowing us to pass flags like MSG_WAITALL, which only make sense if a socket is in blocking mode. Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: Ic52162e84aa14efaf6ad0fb3343d289822758e81 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12592 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
scheduler | ||
sock | ||
Makefile |