Save the io_path to which the current I/O is submitted into struct nvme_bdev_io to know which io_path caused I/O error, or to reuse it to avoid repeated traversal. Besides, add a simple helper function nvme_io_path_is_available() to check if the io_path can be reused. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Idadd3a3188d9b333b335ea79e20a244aa0ce0bdd Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9296 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
scheduler | ||
sock | ||
Makefile |