numam-spdk/lib/nvme
lorneli a5dfbc4daf nvme: zero request->submit_tick in allocation
Request may be submitted several times via nvme_qpair_submit_request
function, such as request in queued_req queue being re-submitted.

With enabling timeout feature, nvme_qpair_submit_request compares
request->submit_tick to zero to check if this is the first submission
for this request. If true, record submit_tick for this reuqest.

So request->submit_tick needs to be set zero in allocation.

Change-Id: Ie3f420aa337802c5ad3962c3fdcd680dec1ccdcb
Signed-off-by: lorneli <lorneli@163.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456328
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2019-06-03 19:15:13 +00:00
..
Makefile Opal: Add Opal library 2019-04-08 17:04:25 +00:00
nvme_ctrlr_cmd.c nvme: add qpair parameter to nvme_complete_request 2019-05-22 14:51:01 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: hold lock when calling nvme_ctrlr_submit_admin_request 2019-02-15 21:27:58 +00:00
nvme_ctrlr.c nvme: add spdk_nvme_ctrlr_get_registers implementation 2019-05-30 22:38:27 +00:00
nvme_fabric.c nvme: introduce probe context data structure and API 2019-02-15 03:14:20 +00:00
nvme_internal.h nvme: zero request->submit_tick in allocation 2019-06-03 19:15:13 +00:00
nvme_ns_cmd.c nvme: explicitly mark _nvme_ns_cmd_rw as inline 2019-06-03 03:11:08 +00:00
nvme_ns_ocssd_cmd.c vtophys: add length parameter to the vtophys function 2019-01-09 08:24:59 +00:00
nvme_ns.c nvme: make identify NS id descriptors can be executed asynchronously 2018-10-15 17:57:56 +00:00
nvme_opal_internal.h Opal: add take ownership cmd options 2019-04-24 22:40:04 +00:00
nvme_opal.c Opal: Add revert tper cmd option 2019-04-25 18:20:42 +00:00
nvme_pcie.c nvme: remove avx optimizations when copying command 2019-05-30 23:09:16 +00:00
nvme_qpair.c nvme: add explicit "inline" keyword to a couple of functions 2019-05-30 23:09:16 +00:00
nvme_quirks.c nvme: add SHST_COMPLETE quirk for VMWare emulated SSDs 2019-02-27 01:46:32 +00:00
nvme_rdma.c nvme: add qpair parameter to nvme_complete_request 2019-05-22 14:51:01 +00:00
nvme_tcp.c nvme/tcp: change the name of max_r2t to maxr2t 2019-05-30 21:38:02 +00:00
nvme_transport.c nvme: add qpair is_connecting flag 2019-05-14 08:48:11 +00:00
nvme_uevent.c nvme: add vfio driver parse event 2019-05-29 02:36:41 +00:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c nvme: Support multiple spdk_nvme_connect to same device 2019-05-13 15:40:36 +00:00