docs: documentation for sg WRITE STREAM(16)
[fio.git] / HOWTO
diff --git a/HOWTO b/HOWTO
index 2563bdef24d7de8b679bf06e578688aa2b5a2ff8..f9e7c8572041fee4f95a46ce08cceffc13cb0f94 100644 (file)
--- a/HOWTO
+++ b/HOWTO
@@ -2520,6 +2520,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.
@@ -2535,6 +2538,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.