From: Jens Axboe Date: Fri, 6 May 2016 20:01:26 +0000 (-0600) Subject: Wire up pmemblk X-Git-Tag: fio-2.10~43 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=5c4ef02e212df7cc536680ac44dd01f34bfb74a2 Wire up pmemblk Add it to our options, and to the documentation. Signed-off-by: Jens Axboe --- diff --git a/HOWTO b/HOWTO index 1f523d38..6952c84e 100644 --- a/HOWTO +++ b/HOWTO @@ -798,6 +798,9 @@ ioengine=str Defines how the job issues io to the file. The following overwriting. The writetrim mode works well for this constraint. + pmemblk Read and write through the NVML libpmemblk + interface. + external Prefix to specify loading an external IO engine object file. Append the engine filename, eg ioengine=external:/tmp/foo.o diff --git a/fio.1 b/fio.1 index 73fdee64..48a3e96e 100644 --- a/fio.1 +++ b/fio.1 @@ -700,6 +700,9 @@ treated as erases. Depending on the underlying device type, the I/O may have to go in a certain pattern, e.g., on NAND, writing sequentially to erase blocks and discarding before overwriting. The writetrim mode works well for this constraint. +.TP +.B pmemblk +Read and write through the NVML libpmemblk interface. .RE .P .RE diff --git a/options.c b/options.c index b6c980ee..980b7e5e 100644 --- a/options.c +++ b/options.c @@ -1568,6 +1568,12 @@ struct fio_option fio_options[FIO_MAX_OPTS] = { { .ival = "libhdfs", .help = "Hadoop Distributed Filesystem (HDFS) engine" }, +#endif +#ifdef CONFIG_PMEMBLK + { .ival = "pmemblk", + .help = "NVML libpmemblk based IO engine", + }, + #endif { .ival = "external", .help = "Load external engine (append name)",