Spdk/module/bdev
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
..
aio update Intel copyright notices 2022-11-10 08:28:53 +00:00
compress update Intel copyright notices 2022-11-10 08:28:53 +00:00
crypto update Intel copyright notices 2022-11-10 08:28:53 +00:00
daos update Intel copyright notices 2022-11-10 08:28:53 +00:00
delay update Intel copyright notices 2022-11-10 08:28:53 +00:00
error update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl module/ftl: Translate rc to spdk_bdev_io_status on submission error 2022-11-22 10:01:30 +00:00
gpt update Intel copyright notices 2022-11-10 08:28:53 +00:00
iscsi update Intel copyright notices 2022-11-10 08:28:53 +00:00
lvol include/bdev_module.h: add SPDK_ prefix to macros 2022-11-22 10:03:57 +00:00
malloc update Intel copyright notices 2022-11-10 08:28:53 +00:00
null update Intel copyright notices 2022-11-10 08:28:53 +00:00
nvme bdev_nvme: added io_outstanding in nvme_io_path 2022-11-24 10:08:43 +00:00
ocf bdev/ocf: Add runtime cache bdev flush support 2022-11-18 08:38:03 +00:00
passthru update Intel copyright notices 2022-11-10 08:28:53 +00:00
pmem update Intel copyright notices 2022-11-10 08:28:53 +00:00
raid module/raid: use correct rpc error codes 2022-11-17 08:55:17 +00:00
rbd update Intel copyright notices 2022-11-10 08:28:53 +00:00
split update Intel copyright notices 2022-11-10 08:28:53 +00:00
uring bdev/uring: handle the out of resoruce from uring 2022-11-15 08:31:45 +00:00
virtio update Intel copyright notices 2022-11-10 08:28:53 +00:00
xnvme update Intel copyright notices 2022-11-10 08:28:53 +00:00
zone_block update Intel copyright notices 2022-11-10 08:28:53 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00