a5dfbc4daf
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> |
||
---|---|---|
.. | ||
Makefile | ||
nvme_ctrlr_cmd.c | ||
nvme_ctrlr_ocssd_cmd.c | ||
nvme_ctrlr.c | ||
nvme_fabric.c | ||
nvme_internal.h | ||
nvme_ns_cmd.c | ||
nvme_ns_ocssd_cmd.c | ||
nvme_ns.c | ||
nvme_opal_internal.h | ||
nvme_opal.c | ||
nvme_pcie.c | ||
nvme_qpair.c | ||
nvme_quirks.c | ||
nvme_rdma.c | ||
nvme_tcp.c | ||
nvme_transport.c | ||
nvme_uevent.c | ||
nvme_uevent.h | ||
nvme.c |