From 2887f8ef49b2fe46e1d0070aed79fdba43548bf4 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Tue, 27 Jun 2017 14:15:59 -0700 Subject: [PATCH] fio_plugin: fix README We do not need quotes around the filename. Signed-off-by: Jim Harris Change-Id: I31685409eb5d956cdfb2fc30896e9e43312b61a3 Reviewed-on: https://review.gerrithub.io/367280 Reviewed-by: Ben Walker Reviewed-by: Daniel Verkamp Tested-by: SPDK Automated Test System --- examples/nvme/fio_plugin/README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/examples/nvme/fio_plugin/README.md b/examples/nvme/fio_plugin/README.md index 4827b35f7f..c6447b31a1 100644 --- a/examples/nvme/fio_plugin/README.md +++ b/examples/nvme/fio_plugin/README.md @@ -35,13 +35,18 @@ directory as this README). To select NVMe devices, you simply pass an identifier as the filename in the format - 'key=value [key=value] ... ns=value' + filename=key=value [key=value] ... ns=value Do not have any ':' in filename, otherwise it will be spilt into several file names. Also the -NVMe namespaces start at 1, not 0! And it should be put on the end. For example, - 1. For local PCIe NVMe device - 'trtype=PCIe traddr=0000.04.00.0 ns=1'. traddr for local - NVMe device should use this format: domain.bus.slot.func - 2. For devices exported by NVMe-oF target, 'trtype=RDMA adrfam=IPv4 traddr=192.168.100.8 trsvcid=4420 ns=1' +NVMe namespaces start at 1, not 0! The namespace must also be specified at the end. + +Local PCIe NVMe devices will be specified using a PCI domain.bus.slot.func traddr format. For example: + + filename=trtype=PCIe traddr=0000.04.00.0 ns=1 + +Remote devices accessed via NVMe over Fabrics will be specified based on the following example: + + filename=trtype=RDMA adrfam=IPv4 traddr=192.168.100.8 trsvcid=4420 ns=1 Currently the SPDK fio plugin is limited to thread usage model, so fio jobs must also specify thread=1 when using the SPDK fio plugin.