summaryrefslogtreecommitdiff
path: root/HOWTO
diff options
context:
space:
mode:
authorVincent Fu <vincent.fu@wdc.com>2018-07-26 09:27:21 -0700
committerVincent Fu <vincent.fu@wdc.com>2018-07-26 09:35:52 -0700
commit3740cfc89440001e393dee1a6abae41ec89bec27 (patch)
tree6206a3158a9df6d76c9e3981da314c9cea977c9f /HOWTO
parent1583553064ba9b23badaf9350d787c245fb21aea (diff)
downloadfio-3740cfc89440001e393dee1a6abae41ec89bec27.tar.gz
fio-3740cfc89440001e393dee1a6abae41ec89bec27.tar.bz2
docs: update HOWTO and manpage for sg trim support
Also fix HOWTO sg_write_mode formatting
Diffstat (limited to 'HOWTO')
-rw-r--r--HOWTO9
1 files changed, 6 insertions, 3 deletions
diff --git a/HOWTO b/HOWTO
index 70eed280..804d93e4 100644
--- a/HOWTO
+++ b/HOWTO
@@ -991,13 +991,15 @@ I/O type
**write**
Sequential writes.
**trim**
- Sequential trims (Linux block devices only).
+ Sequential trims (Linux block devices and SCSI
+ character devices only).
**randread**
Random reads.
**randwrite**
Random writes.
**randtrim**
- Random trims (Linux block devices only).
+ Random trims (Linux block devices and SCSI
+ character devices only).
**rw,readwrite**
Sequential mixed reads and writes.
**randrw**
@@ -1748,7 +1750,7 @@ I/O engine
ioctl, or if the target is an sg character device we use
:manpage:`read(2)` and :manpage:`write(2)` for asynchronous
I/O. Requires :option:`filename` option to specify either block or
- character devices.
+ character devices. This engine supports trim operations.
The sg engine includes engine specific options.
**null**
@@ -2082,6 +2084,7 @@ with the caveat that when used on the command line, they must come after the
the force unit access (fua) flag. Default is 0.
.. option:: sg_write_mode=str : [sg]
+
Specify the type of write commands to issue. This option can take three values:
**write**