numam-spdk/examples/nvme
Ziye Yang c67fb06d51 nvme/perf: Fix the hang issue of nvme perf.
When using nvme perf program to test against NVME-oF target,
the nvme perf program will hang if we kill the NVMe-oF target.

For example, if we run the following command:

1 On the target side, start a SPDK NVMe-oF target;

2 On the initiator side, we run:
./build/examples/perf -r 'trtype:rdma adrfam:IPv4 traddr:192.168.7.55 trsvcid:4420' -q 128
-o 4096 -w randwrite -t 100

3 Then we kill the NVMe-oF target on the target, the nvme perf program
will hang.

For NVMe perf program, I think that we should check it in

Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Change-Id: Ia864394acdb6e705484dd0db6f015b567eb527a7
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3774
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-08-19 07:29:26 +00:00
..
abort example/nvme: add application to test NVMe I/O abort 2020-07-17 07:21:13 +00:00
arbitration test/nvme_arbitration: use extended block size API 2020-06-19 07:19:38 +00:00
cmb_copy nvme/cmb_copy: disable submission queue in CMB 2020-04-22 09:18:22 +00:00
fio_plugin sock/vpp: remove VPP implementation 2020-08-17 08:19:46 +00:00
hello_world nvme: Change mapping semantics of controller memory buffer 2020-04-16 08:14:18 +00:00
hotplug build: fix duplicate spdk.common.mk includes 2019-05-22 14:51:01 +00:00
identify nvme/identify : print ana log page information 2020-08-12 07:50:44 +00:00
nvme_manage nvme/opal: deprecate spdk_opal_supported() 2020-05-20 14:16:44 +00:00
perf nvme/perf: Fix the hang issue of nvme perf. 2020-08-19 07:29:26 +00:00
reconnect nvme/examples: fix potential memory leak in reconnect.c 2020-04-24 07:07:43 +00:00
Makefile example/nvme: add application to test NVMe I/O abort 2020-07-17 07:21:13 +00:00