diff --git a/examples/nvme/fio_plugin/README.md b/examples/nvme/fio_plugin/README.md index af9eca8f5..7e3dc6881 100644 --- a/examples/nvme/fio_plugin/README.md +++ b/examples/nvme/fio_plugin/README.md @@ -5,9 +5,9 @@ First, clone the fio source repository from http://github.com/axboe/fio git clone http://github.com/axboe/fio -Then check out the fio 2.17 tag +Then check out the fio 2.18 tag - cd fio && git checkout fio-2.17 + cd fio && git checkout fio-2.18 Finally, compile the code with diff --git a/examples/nvme/fio_plugin/fio_plugin.c b/examples/nvme/fio_plugin/fio_plugin.c index 8436a4e47..7a501428b 100644 --- a/examples/nvme/fio_plugin/fio_plugin.c +++ b/examples/nvme/fio_plugin/fio_plugin.c @@ -162,7 +162,7 @@ attach_cb(void *cb_ctx, const struct spdk_nvme_transport_id *trid, continue; } - f->filetype = FIO_TYPE_BD; + f->filetype = FIO_TYPE_BLOCK; fio_file_set_size_known(f); fio_ns->next = fio_ctrlr->ns_list;