e3997dc23b
--initial_zone_reset has to be done before fio creates its threads. Since --zonemode=zbd only supports --create_serialize=1 (default), this is possible. Since this requires an I/O channel, and is called before threads are created, follow the same pattern as spdk_fio_report_zones() and simply initialize the thread early if this option is used. Just like spdk_fio_report_zones(), thread cleanup has to be called explicitly in case of error. (Since fio will only call .cleanup() on threads that it has called .init() on.) Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Change-Id: I7d4dedce88309e4c6e5800ed3d56cd5ccb297551 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7726 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
interrupt_tgt | ||
ioat | ||
nvme | ||
nvmf | ||
sock | ||
vmd | ||
Makefile |