spdk_fio_init_thread() assigns td->io_ops_data. spdk_fio_init_thread() can return an error, but currently lacks error handling code. Add error handling code, and add an assertion that fio_thread (td->io_ops_data) is assigned when spdk_fio_init_thread() didn't return an error. Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Change-Id: I8de7d59db0373599c90aa57fffa476c6707b6104 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7732 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 |