Spdk/test
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 test/accel: fix run_test naming convention 2022-11-18 08:40:26 +00:00
app llvm_vfio_fuzz: call spdk_thread_exit() 2022-11-23 08:22:04 +00:00
bdev bdevio: call spdk_thread_exit() 2022-11-23 08:22:04 +00:00
blobfs add (c) and SPDX header to python files as needed 2022-11-10 08:28:53 +00:00
blobstore bdevperf: promote bdevperf from test to example application 2022-11-16 09:52:41 +00:00
common scripts/pkgdep: add RBD support 2022-11-10 08:29:10 +00:00
compress bdevperf: promote bdevperf from test to example application 2022-11-16 09:52:41 +00:00
cpp_headers update Intel copyright notices 2022-11-10 08:28:53 +00:00
dd test/xnvme: Use null_blk device instead of zram for the backend device 2022-10-27 09:06:37 +00:00
dma test/dma: call spdk_thread_exit() 2022-11-23 08:22:04 +00:00
dpdk_memory_utility autotest_common.sh: change rpc_py to rpc_cmd 2022-09-01 11:15:03 +00:00
env 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
external_code update Intel copyright notices 2022-11-10 08:28:53 +00:00
ftl bdevperf: promote bdevperf from test to example application 2022-11-16 09:52:41 +00:00
fuzz autotest: Move the llvm_nvme_fuzz to test/fuzz 2022-10-17 12:38:20 +00:00
interrupt scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
ioat build: Example applications build to build/example 2020-06-15 15:27:16 +00:00
iscsi_tgt bdevperf: promote bdevperf from test to example application 2022-11-16 09:52:41 +00:00
json_config add (c) and SPDX header to python files as needed 2022-11-10 08:28:53 +00:00
lvol bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
make test/check_so_deps: compare xml representations of the so files 2022-11-23 08:22:38 +00:00
nvme bdevperf: promote bdevperf from test to example application 2022-11-16 09:52:41 +00:00
nvmf bdevperf: promote bdevperf from test to example application 2022-11-16 09:52:41 +00:00
ocf test/ocf: Fix path to bdevperf 2022-11-18 12:46:29 +00:00
openstack run_openstack_tests.sh: move rpc_py declaration below source commands 2022-09-08 07:20:17 +00:00
packaging test/packaging: Introduce separate test suite for packaging 2022-10-17 10:48:31 +00:00
pmem bdev module: remove support for deprecated RPC names 2022-05-23 16:13:00 +00:00
rpc scripts: move python modules to python directory 2022-04-05 14:40:47 +00:00
rpc_client update Intel copyright notices 2022-11-10 08:28:53 +00:00
rpc_plugins autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
scheduler test/scheduler: Fallback to checking user mode load if idle check fails 2022-09-26 15:36:07 +00:00
setup scripts/setup: Don't overwrite already allocated number of hugepages 2022-10-19 07:49:22 +00:00
sma event: add CPU lock files 2022-11-09 08:18:32 +00:00
spdkcli bdev: remove generation of UUIDs for bdevs that do not provide one 2022-11-18 08:38:13 +00:00
thread update Intel copyright notices 2022-11-10 08:28:53 +00:00
unit bdev_nvme: added io_outstanding in nvme_io_path 2022-11-24 10:08:43 +00:00
vfio_user test/vfio-user: add virtio_blk|scsi VM fio|restart test case 2022-09-29 19:42:56 +00:00
vhost add (c) and SPDX header to python files as needed 2022-11-10 08:28:53 +00:00
vmd vmd: rename enable_vmd RPC to vmd_enable 2022-09-01 08:48:32 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_cunit.h update Intel copyright notices 2022-11-10 08:28:53 +00:00