From 3bb7438e0509ba4613aa11480660afdceb25c414 Mon Sep 17 00:00:00 2001 From: Yanbo Zhou Date: Thu, 27 Sep 2018 21:19:10 +0800 Subject: [PATCH] fio_plugin: add more information and fix a minor error for usage guide Change-Id: I65ba8eda2bfcb442f676bc85d6a6fd952ff3389a Signed-off-by: Yanbo Zhou Reviewed-on: https://review.gerrithub.io/427098 Tested-by: SPDK CI Jenkins Chandler-Test-Pool: SPDK Automated Test System Reviewed-by: Shuhei Matsumoto Reviewed-by: Changpeng Liu Reviewed-by: Jim Harris --- examples/bdev/fio_plugin/fio_plugin.c | 2 +- examples/nvme/fio_plugin/fio_plugin.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/bdev/fio_plugin/fio_plugin.c b/examples/bdev/fio_plugin/fio_plugin.c index 6244ee8a4..4406abd46 100644 --- a/examples/bdev/fio_plugin/fio_plugin.c +++ b/examples/bdev/fio_plugin/fio_plugin.c @@ -664,7 +664,7 @@ static struct fio_option options[] = { .lname = "SPDK configuration file", .type = FIO_OPT_STR_STORE, .off1 = offsetof(struct spdk_fio_options, conf), - .help = "An SPDK configuration file", + .help = "A SPDK configuration file", .category = FIO_OPT_C_ENGINE, .group = FIO_OPT_G_INVALID, }, diff --git a/examples/nvme/fio_plugin/fio_plugin.c b/examples/nvme/fio_plugin/fio_plugin.c index 18c90110f..7785c3993 100644 --- a/examples/nvme/fio_plugin/fio_plugin.c +++ b/examples/nvme/fio_plugin/fio_plugin.c @@ -853,6 +853,7 @@ static struct fio_option options[] = { .type = FIO_OPT_INT, .off1 = offsetof(struct spdk_fio_options, mem_size), .def = "512", + .help = "Memory Size for SPDK (MB)", .category = FIO_OPT_C_ENGINE, .group = FIO_OPT_G_INVALID, }, @@ -862,6 +863,7 @@ static struct fio_option options[] = { .type = FIO_OPT_INT, .off1 = offsetof(struct spdk_fio_options, shm_id), .def = "-1", + .help = "Shared Memory ID", .category = FIO_OPT_C_ENGINE, .group = FIO_OPT_G_INVALID, }, @@ -871,6 +873,7 @@ static struct fio_option options[] = { .type = FIO_OPT_INT, .off1 = offsetof(struct spdk_fio_options, enable_sgl), .def = "0", + .help = "SGL Used for I/O Commands (enable_sgl=1 or enable_sgl=0)", .category = FIO_OPT_C_ENGINE, .group = FIO_OPT_G_INVALID, },