Spdk/lib
Ziye Yang a13a359ebe nvmf/tcp: fix the qpair disconnect handling.
Due to qpair timeout handling refactoring,
we removed the qpair destroying related code.

And this patch is submitted to address this issue. With
this patch, we can detect sock close of the fd from
the initiator, and correctly free the qpair related resource
(e.g., pid) managed by nvmf layer.

Otherwise, the initatior thinks the qpair related source is
freed, however it is not freed in the target side.

Change-Id: Ia2de07bd849fa5d3bc0e0e0d4941464dfd16d266
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-on: https://review.gerrithub.io/c/440242
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-01-15 17:17:20 +00:00
..
bdev bdev/error: remove an unnecessary "enabled" flag 2019-01-15 16:43:20 +00:00
blob util: added spdk_divide_round_up() 2018-12-18 17:26:49 +00:00
blobfs log: remove "trace" from internal API 2018-12-03 19:50:15 +00:00
conf conf: don't strdup name if section already exist 2018-05-17 17:13:19 +00:00
copy lib/copy: unregister copy engine on finish 2018-10-15 17:42:20 +00:00
env_dpdk env: move VALUE_2MB defines into a new internal header 2019-01-13 00:47:26 +00:00
event app: add option to read json configuration files during startup 2019-01-14 04:48:18 +00:00
ftl ftl: Gathering asynchronous NAND management events 2019-01-11 09:15:39 +00:00
ioat memory: replace all hardcoded 0x200000 with a define 2019-01-13 00:47:26 +00:00
iscsi iscsi/rpc: free partially decoded request 2019-01-09 14:13:58 +00:00
json json_util: add debug logs to spdk_json_decode_object function 2019-01-10 14:31:37 +00:00
jsonrpc jsonrpc: process all requests in buffer 2019-01-10 14:31:37 +00:00
log app: rename traceflag cmdline option to logflag 2018-12-03 19:50:15 +00:00
lvol util: added spdk_divide_round_up() 2018-12-18 17:26:49 +00:00
nbd nbd: fixup return codes 2018-11-28 22:55:09 +00:00
net lib: fix typos in the lib directory 2018-08-24 17:15:12 +00:00
nvme memory: replace all hardcoded 0x200000 with a define 2019-01-13 00:47:26 +00:00
nvmf nvmf/tcp: fix the qpair disconnect handling. 2019-01-15 17:17:20 +00:00
reduce reduce: _allocate_vol_requests: set pointer to NULL after freed 2018-12-18 23:38:51 +00:00
rocksdb thread: Use TLS to accelerate thread look up 2018-12-14 18:54:03 +00:00
rpc rpc: add spdk_rpc_is_method_allowed 2018-12-05 00:35:35 +00:00
scsi scsi: Set TMF code prior to calling spdk_scsi_dev_queue_mgmt_task 2018-12-10 20:34:11 +00:00
sock net/vpp: fix the compilation warning. 2018-12-31 06:29:15 +00:00
thread thread: Eliminate use of pthread_self and thread_ids 2019-01-15 16:53:12 +00:00
trace lib/trace: add 3 RPC method for tpoint_group_mask 2018-12-14 21:29:12 +00:00
ut_mock thread: Eliminate use of pthread_self and thread_ids 2019-01-15 16:53:12 +00:00
util util/string: sprintf_append_realloc to concatenate strings with realloc 2019-01-14 21:22:56 +00:00
vhost vhost fix potential memleak in vhost_backend_cleanup 2019-01-15 17:01:09 +00:00
virtio memory: replace all hardcoded 0x200000 with a define 2019-01-13 00:47:26 +00:00
Makefile ftl: Initial implementation 2019-01-11 09:15:39 +00:00