Spdk/lib/nvmf
Ben Walker b11407d04c nvmf/tcp: Use an spdk_sock_flush instead of an spdk_sock_write
For IC_RESP and C2H_TERM_REQ, use the regular async write path but add
an additional flush. The flush operation reports errors, so we may at
some point attempt to handle busy conditions by blocking. However, for
now this doesn't do that because previously the writev call didn't
either.

Change-Id: I4d05e19ac6dd781be7c96005549abdb52511b8c1
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15213
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
2023-01-24 18:18:33 +00:00
..
ctrlr_bdev.c nvmf: return error on invalid req length for copy commands 2022-12-09 08:16:50 +00:00
ctrlr_discovery.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
ctrlr.c util: add spdk_iov_memset() 2023-01-16 09:38:43 +00:00
fc_ls.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
fc.c misc: Fix spelling mistakes 2022-12-09 08:16:18 +00:00
Makefile so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
nvmf_fc.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvmf_internal.h nvmf: pause/resume polling for the target 2023-01-24 14:49:24 +00:00
nvmf_rpc.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvmf.c nvmf: pause/resume polling for the target 2023-01-24 14:49:24 +00:00
rdma.c nvmf/rdma: Factor out creating/destroying rdma resources into helper functions 2022-12-16 09:25:36 +00:00
spdk_nvmf.map nvmf: pause/resume polling for the target 2023-01-24 14:49:24 +00:00
subsystem.c nvmf: Add ZNS specific identify functions for NVMe-oF ZNS support 2023-01-16 08:30:34 +00:00
tcp.c nvmf/tcp: Use an spdk_sock_flush instead of an spdk_sock_write 2023-01-24 18:18:33 +00:00
transport.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
transport.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
vfio_user.c nvmf/vfio_user: cast numdw to uint32_t 2023-01-10 13:14:09 +00:00