All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vincent Fu <vincent.fu@samsung.com>
To: "axboe@kernel.dk" <axboe@kernel.dk>,
	"fio@vger.kernel.org" <fio@vger.kernel.org>
Cc: Vincent Fu <vincent.fu@samsung.com>
Subject: [PATCH 6/6] docs: documentation for sg WRITE STREAM(16)
Date: Mon, 15 Nov 2021 20:07:17 +0000	[thread overview]
Message-ID: <20211115200807.117138-7-vincent.fu@samsung.com> (raw)
In-Reply-To: <20211115200807.117138-1-vincent.fu@samsung.com>

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
---
 HOWTO | 9 +++++++++
 fio.1 | 9 +++++++++
 2 files changed, 18 insertions(+)

diff --git a/HOWTO b/HOWTO
index 0f204afa..ccf2442d 100644
--- a/HOWTO
+++ b/HOWTO
@@ -2510,6 +2510,9 @@ with the caveat that when used on the command line, they must come after the
 		Buffer (NDOB) bit set. No data will be transferred to the device with
 		this bit set. Data written will be a pre-determined pattern such as
 		all zeroes.
+	**write_stream**
+		Issue WRITE STREAM(16) commands. Use the **stream_id** option to specify
+		the stream identifier.
 	**verify_bytchk_00**
 		Issue VERIFY commands with BYTCHK set to 00. This directs the
 		device to carry out a medium verification with no data comparison.
@@ -2525,6 +2528,12 @@ with the caveat that when used on the command line, they must come after the
 		This is similar to the WRITE SAME command except that data is compared instead
 		of written.
 
+.. option:: stream_id=int : [sg]
+
+	Set the stream identifier for WRITE STREAM commands. If this is set to 0 (which is not
+	a valid stream identifier) fio will open a stream and then close it when done. Default
+	is 0.
+
 .. option:: hipri : [sg]
 
 	If this option is set, fio will attempt to use polled IO completions.
diff --git a/fio.1 b/fio.1
index 71f98135..823c925d 100644
--- a/fio.1
+++ b/fio.1
@@ -2318,6 +2318,10 @@ Buffer (NDOB) bit set. No data will be transferred to the device with
 this bit set. Data written will be a pre-determined pattern such as
 all zeroes.
 .TP
+.B write_stream
+Issue WRITE STREAM(16) commands. Use the stream_id option to specify
+the stream identifier.
+.TP
 .B verify_bytchk_00
 Issue VERIFY commands with BYTCHK set to 00. This directs the device to carry
 out a medium verification with no data comparison.
@@ -2336,6 +2340,11 @@ WRITE SAME command except that data is compared instead of written.
 .RE
 .RE
 .TP
+.BI (sg)stream_id \fR=\fPint
+Set the stream identifier for WRITE STREAM commands. If this is set to 0 (which is not
+a valid stream identifier) fio will open a stream and then close it when done. Default
+is 0.
+.TP
 .BI (nbd)uri \fR=\fPstr
 Specify the NBD URI of the server to test.
 The string is a standard NBD URI (see
-- 
2.25.1

  parent reply	other threads:[~2021-11-16  0:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20211115200821uscas1p12939025b77aaf0ec414bf1427cf1b72a@uscas1p1.samsung.com>
2021-11-15 20:07 ` [PATCH 0/6] additional sg ionegine commands Vincent Fu
     [not found]   ` <CGME20211115200821uscas1p1319ea93782358999fb69feb0f2f2c087@uscas1p1.samsung.com>
2021-11-15 20:07     ` [PATCH 2/6] sg: add support for WRITE SAME(16) commands with NDOB flag set Vincent Fu
     [not found]   ` <CGME20211115200821uscas1p2e7dc56386571a492e3379b718ca2770c@uscas1p2.samsung.com>
2021-11-15 20:07     ` [PATCH 1/6] sg: add support for VERIFY command using write modes Vincent Fu
     [not found]   ` <CGME20211115200821uscas1p28671af8f28d8326c7dd2dc2ff1204d4b@uscas1p2.samsung.com>
2021-11-15 20:07     ` [PATCH 4/6] sg: add support for WRITE STREAM(16) commands Vincent Fu
     [not found]   ` <CGME20211115200822uscas1p2795a33fbed15d3f1b6029116a8123d05@uscas1p2.samsung.com>
2021-11-15 20:07     ` Vincent Fu [this message]
     [not found]   ` <CGME20211115200822uscas1p16f41fc3283e4f36e668ff9ea189f16c5@uscas1p1.samsung.com>
2021-11-15 20:07     ` [PATCH 5/6] sg: allow fio to open and close streams " Vincent Fu
     [not found]   ` <CGME20211115200821uscas1p209c5e40580f1e5a6328f1a725f887f0f@uscas1p2.samsung.com>
2021-11-15 20:07     ` [PATCH 3/6] sg: improve sg_write_mode option names Vincent Fu
     [not found]   ` <CGME20211129152026uscas1p1c9f4f5b6d00f3b0eea2d2b6d9868fcc6@uscas1p1.samsung.com>
2021-11-29 15:19     ` [PATCH 0/6] additional sg ionegine commands Vincent Fu
     [not found]   ` <CGME20220118130352uscas1p1a51e58ff20951777a16d2d201d63cbdb@uscas1p1.samsung.com>
2022-01-18 13:02     ` Vincent Fu
2022-01-18 13:37   ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211115200807.117138-7-vincent.fu@samsung.com \
    --to=vincent.fu@samsung.com \
    --cc=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.