ff9516bdcc
For the requests which don't have children requests, SPDK may queue them to the queued_req list due to limited resources, in the completion path, we may resubmit them to the controller. When the controller was removed the submission path will return -ENXIO and we will free the requests directly, so the callback will not be trigerred for these requests. Here we added a flag to indicate the request is from queued_req list or not, so for the failure submission, we can triger user's callback. Fix issue #1097 Change-Id: I901ac81733c2319e540d24baf5b8faa1c649eb35 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/477754 Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Alexey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
nvme_ctrlr_cmd.c | ||
nvme_ctrlr_ocssd_cmd.c | ||
nvme_ctrlr.c | ||
nvme_ns_cmd.c | ||
nvme_ns_ocssd_cmd.c | ||
nvme_ns.c | ||
nvme_pcie.c | ||
nvme_qpair.c | ||
nvme_quirks.c | ||
nvme_rdma.c | ||
nvme_tcp.c | ||
nvme.c | ||
Makefile |