Spdk/examples/nvme
Simon A. F. Lund 906c2adb86 examples/nvme_fio_plugin: help the user with max_open_zones constraints
When a device has resource-limitations such as the
maximum-open-resources (mor) and this threshold is exceeded, then IO
will fail upon completion. Such behavior is not the most user-friendly
way to tell the user that they should provide a value for the
fio-parameter 'max_open_zones'.

This change provides an arguably more user-friendly approach by checking
whether the device is limited and in case it is:

* Provide a default value for 'max_open_zones', inform the user, and
continue
* Verify 'max_open_zones' and in case of error inform the user and
return error

Signed-off-by: Simon A. F. Lund <simon.lund@samsung.com>
Change-Id: I76cb045d560b9ec5701d97b82a62947af11960b6
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4914
Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2020-10-28 15:06:44 +00:00
..
abort examples/nvme: Use spdk_nvme_detach_async() and spdk_nvme_detach_poll_async() 2020-10-20 16:55:55 +00:00
arbitration examples/nvme: Use spdk_nvme_detach_async() and spdk_nvme_detach_poll_async() 2020-10-20 16:55:55 +00:00
cmb_copy nvme/cmb_copy: disable submission queue in CMB 2020-04-22 09:18:22 +00:00
fio_plugin examples/nvme_fio_plugin: help the user with max_open_zones constraints 2020-10-28 15:06:44 +00:00
hello_world examples/nvme/hello_world: call exit() on read error 2020-10-23 13:47:09 +00:00
hotplug build: fix duplicate spdk.common.mk includes 2019-05-22 14:51:01 +00:00
identify examples/nvme/identify: remove exit_and_free_qpair() 2020-10-23 13:47:09 +00:00
nvme_manage examples/nvme: Use spdk_nvme_detach_async() and spdk_nvme_detach_poll_async() 2020-10-20 16:55:55 +00:00
perf examples/nvme: Use spdk_nvme_detach_async() and spdk_nvme_detach_poll_async() 2020-10-20 16:55:55 +00:00
reconnect examples/nvme: Use spdk_nvme_detach_async() and spdk_nvme_detach_poll_async() 2020-10-20 16:55:55 +00:00
Makefile example/nvme: add application to test NVMe I/O abort 2020-07-17 07:21:13 +00:00