Spdk/examples
Simon A. F. Lund 81e12ff27e examples/nvme_fio_plugin: add plugin-option 'initial_zone_reset'
Added plugin-option 'initial_zone_reset', providing the option to reset
all zones on all namespaces with the Zoned Command Set enabled upon
initialization.
The default is not to reset. The option is exposed even when the ZBD
plumbing is not available. However, it will then inform the user that
ZBD/ZNS is not supported instead of resetting.

The plugin-option provides a short-term solution to an observed issue
with consecutive invocations of fio exhausting maximum-active-resources.
A longer-term solution would be to add a 'max_active_zones' limit in fio
and ensure that fio does not exceed that limit.

Signed-off-by: Simon A. F. Lund <simon.lund@samsung.com>
Change-Id: I65341c028a97657370b315fb298bf97651b9bffd
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4949
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com>
(cherry picked from commit aae84b1f0e)
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4896
2020-10-30 12:52:55 +00:00
..
accel examples/accel/perf: replace mempool of tasks with lists of tasks 2020-07-24 19:38:46 +00:00
bdev example/bdev/hellow_word: Drop .ini config in favor of json 2020-10-23 13:47:23 +00:00
blob script/gen_nvme: do not generate legacy configuration 2020-10-22 17:08:41 +00:00
interrupt_tgt interrupt_tgt: add lvol, blobfs and basic bdevs 2020-10-23 16:23:48 +00:00
ioat example/ioat: Initialize global TAILQ HEAD variables at definition. 2020-10-14 08:06:25 +00:00
nvme examples/nvme_fio_plugin: add plugin-option 'initial_zone_reset' 2020-10-30 12:52:55 +00:00
nvmf nvmf: Eliminate spdk_nvmf_tgt_accept() 2020-09-21 07:55:54 +00:00
sock sock/vpp: remove VPP implementation 2020-08-17 08:19:46 +00:00
vmd lib/vmd: detach devices during shutdown 2020-02-04 16:50:25 +00:00
Makefile interrupt: add interrupt_tgt app 2020-10-23 16:23:48 +00:00