diff --git a/examples/nvme/perf/perf.c b/examples/nvme/perf/perf.c index 5ca7709fd..f5ce6493d 100644 --- a/examples/nvme/perf/perf.c +++ b/examples/nvme/perf/perf.c @@ -1412,8 +1412,8 @@ static void usage(char *program_name) printf("\t"); spdk_log_usage(stdout, "-T"); printf("\t[-V enable VMD enumeration]\n"); - printf("\t[-z disable zero copy send for the given sock implementation]\n"); - printf("\t[-Z enable zero copy send for the given sock implementation. Default for posix impl]\n"); + printf("\t[-z disable zero copy send for the given sock implementation. Default for posix impl]\n"); + printf("\t[-Z enable zero copy send for the given sock implementation]\n"); printf("\t[-A IO buffer alignment. Must be power of 2 and not less than cache line (%u)]\n", SPDK_CACHE_LINE_SIZE); printf("\t[-S set the default sock impl, e.g. \"posix\"]\n"); diff --git a/module/sock/posix/posix.c b/module/sock/posix/posix.c index 534a61b54..aafdb0f1c 100644 --- a/module/sock/posix/posix.c +++ b/module/sock/posix/posix.c @@ -81,7 +81,7 @@ static struct spdk_sock_impl_opts g_spdk_posix_sock_impl_opts = { .recv_buf_size = MIN_SO_RCVBUF_SIZE, .send_buf_size = MIN_SO_SNDBUF_SIZE, .enable_recv_pipe = true, - .enable_zerocopy_send = true, + .enable_zerocopy_send = false, .enable_quickack = false, .enable_placement_id = false, };