numam-spdk/lib/sock
Ziye Yang 4730cd3158 sock: set the fd with non_block flag.
Reason: For connect, we use non_block mode in
the initiator side, but we do not do it for
the accepted fd in the server side, which will
casue writev not return. And this patch can fix this.

PS: SPDK default use non block mode.

Change-Id: I709574573a089c2e63ca079829945e864d9f20c2
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-on: https://review.gerrithub.io/428654
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: GangCao <gang.cao@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-10-15 17:57:31 +00:00
..
posix sock: set the fd with non_block flag. 2018-10-15 17:57:31 +00:00
vpp sock: Update the spdk_sock_getaddr function. 2018-10-11 04:58:49 +00:00
Makefile net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00
net_framework.c net: split sock abstraction into lib/sock 2018-06-22 17:09:57 +00:00
sock.c sock: Update the spdk_sock_getaddr function. 2018-10-11 04:58:49 +00:00