Spdk/module
Richael Zhuang 61b8122dc5 bdev_nvme: added io_outstanding in nvme_io_path
Added io_outstanding in struct nvme_io_path to record outstanding
I/O number in each path, which will be used by multipath to select
I/O path.

io_outstanding gets updated for I/O sent to a namespace and not get
updated if sent to a controller.
For FLUSH case, it calls bdev_nvme_io_complete() directly and
io_outstanding is not updated for this case.
spdk_bdev_io_get_buf() is executed in the generic bdev layer.
Hence, we do not update io_outstanding for spdk_bdev_io_get_buf().

Change-Id: I47b515e0f254e5daa7e1e88799a832032b23ff34
Signed-off-by: Richael Zhuang <richael.zhuang@arm.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15032
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
2022-11-24 10:08:43 +00:00
..
accel update Intel copyright notices 2022-11-10 08:28:53 +00:00
bdev bdev_nvme: added io_outstanding in nvme_io_path 2022-11-24 10:08:43 +00:00
blob update Intel copyright notices 2022-11-10 08:28:53 +00:00
blobfs build: compile API functions with missing deps 2022-11-18 08:40:05 +00:00
env_dpdk update Intel copyright notices 2022-11-10 08:28:53 +00:00
event update Intel copyright notices 2022-11-10 08:28:53 +00:00
scheduler update Intel copyright notices 2022-11-10 08:28:53 +00:00
sock update Intel copyright notices 2022-11-10 08:28:53 +00:00
vfu_device include/bdev_module.h: add SPDK_ prefix to macros 2022-11-22 10:03:57 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00