The .get_zoned_model() callback is supposed to reject unsupported file types. Right now, we only reject FIO_TYPE_PIPE. However, in attach_cb() our ioengine unconditionally initializes f->filetype to FIO_TYPE_BLOCK. This means that the only file type that our ioengine supports is FIO_TYPE_BLOCK. Therefore, fix spdk_get_zoned_model() to reject everything that we do not support. Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Change-Id: I115bb8ff9c8ea9f647baebc0196900681a36c410 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8327 Community-CI: Mellanox Build Bot Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
interrupt_tgt | ||
ioat | ||
nvme | ||
nvmf | ||
sock | ||
util | ||
vmd | ||
Makefile |