We can crash with spdk_nvme_qpair_process_completions(qpair=0x0) when
called from spdk_fio_getevents(). This was observed when passing more
than two namespaces to an fio job.
This is because this callback can be called concurrently with
spdk_fio_open(), which assigns ->qpair. We'll just skip any
non-initialized qpairs in the processing loop, as eventually
spdk_fio_open() will set them.
Fixes: "f69367c78 fio_nvme: defer qpair allocation to file_open callback"
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12338 (master)
(cherry picked from commit
|
||
---|---|---|
.. | ||
abort | ||
arbitration | ||
cmb_copy | ||
discovery_aer | ||
fio_plugin | ||
hello_world | ||
hotplug | ||
identify | ||
nvme_manage | ||
perf | ||
pmr_persistence | ||
reconnect | ||
Makefile |