Spdk/lib/nvmf
Tomasz Zawadzki 161a300275 VPP: change sockets from FIONBIO to O_NONBLOCK type
There are two ways to set stockets to nonblocking type:
- ioctl with FIONBIO
- fcntl with O_NONBLOCK
Those two should be equivalent for sockets used in SPDK.

During testing it was shown that VPP interprets only
the second type, so this patch changes all occurences of it.

When here, more descriptive error logs were set in case of
failure.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: Ifa5b30e3a4fa04fe23f41fa2ae9dab4b01dd7d3c
Reviewed-on: https://review.gerrithub.io/388816
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-11-29 11:23:32 -05:00
..
ctrlr_bdev.c nvmf: add Write Zeroes support 2017-09-14 17:41:52 -04:00
ctrlr_discovery.c nvmf: Store subsystems in array instead of a list 2017-11-15 17:54:13 -05:00
ctrlr.c nvmf: Poll groups now automatically register pollers 2017-11-28 15:29:35 -05:00
Makefile nvmf: Rename spdk_nvmf_session to spdk_nvmf_ctrlr 2017-08-08 13:46:48 -04:00
nvmf_internal.h nvmf: Poll groups now automatically register pollers 2017-11-28 15:29:35 -05:00
nvmf.c nvmf: Poll groups now automatically register pollers 2017-11-28 15:29:35 -05:00
rdma.c VPP: change sockets from FIONBIO to O_NONBLOCK type 2017-11-29 11:23:32 -05:00
request.c nvmf: simplify spdk_nvmf_request_exec() 2017-09-29 13:03:24 -04:00
subsystem.c nvmf: Poll groups now automatically register pollers 2017-11-28 15:29:35 -05:00
transport.c nvmf: Move all struct definitions to nvmf_internal.h 2017-09-01 12:43:26 -04:00
transport.h nvmf: Poll groups can now span transports 2017-09-01 12:43:26 -04:00