examples/nvme/fio_plugin: update to FIO 2.18
The enum fio_filetype member FIO_TYPE_DB has been changed to FIO_TYPE_BLOCK.
This commit is contained in:
parent
7f819108bd
commit
f5b56f6356
@ -5,9 +5,9 @@ First, clone the fio source repository from http://github.com/axboe/fio
|
|||||||
|
|
||||||
git clone 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
|
Finally, compile the code with
|
||||||
|
|
||||||
|
@ -162,7 +162,7 @@ attach_cb(void *cb_ctx, const struct spdk_nvme_transport_id *trid,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
f->filetype = FIO_TYPE_BD;
|
f->filetype = FIO_TYPE_BLOCK;
|
||||||
fio_file_set_size_known(f);
|
fio_file_set_size_known(f);
|
||||||
|
|
||||||
fio_ns->next = fio_ctrlr->ns_list;
|
fio_ns->next = fio_ctrlr->ns_list;
|
||||||
|
Loading…
Reference in New Issue
Block a user