When I/O error resiliency is supported, most DNR parameters for internal APIs were cleared. However, for some cases, especially for the reset I/O command, the upper layer wants the NVMe driver to return I/O errors immediately without retry even if the upper layer enables I/O error retry. To satisfy such requirement, add an abort_dnr variable to the spdk_nvme_qpair structure and internal abort APIs use the abort_dnr variable. A public API spdk_nvme_qpair_set_abort_dnr() can change the abort_dnr variable dynamically. The public spdk_nvme_transport_ops structure is not changed to avoid premature changes. Signed-off-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I486a1b3ad8411f9fa261a2bf3a45aea9da292e9c Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17099 Reviewed-by: Jim Harris <james.r.harris@intel.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |