Spdk/examples
Niklas Cassel 5172337d95 nvme/fio_plugin: spdk_fio_get_zoned_model() is too permissive
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>
2021-06-15 08:34:36 +00:00
..
accel examples/accel_perf: don't allocate channel just to get engine caps 2021-06-04 15:48:22 +00:00
bdev event: Move json config loading to init 2021-05-26 09:13:34 +00:00
blob event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
interrupt_tgt event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
ioat build: use DEPDIRS variables to build SPDK_LIB_LIST 2020-12-18 09:40:01 +00:00
nvme nvme/fio_plugin: spdk_fio_get_zoned_model() is too permissive 2021-06-15 08:34:36 +00:00
nvmf init: Declare a formal public API 2021-05-26 09:13:34 +00:00
sock event: Shift subsystem initialization code to a separate library 2021-05-24 10:12:50 +00:00
util Util: check the error case of NULL pointer 2021-06-08 08:26:12 +00:00
vmd env_dpdk: save hotplug timeout timestamps separate from rte_devargs 2021-04-23 08:16:24 +00:00
Makefile examples: add zipf example app 2021-05-19 07:50:28 +00:00