path: root/HOWTO
diff options
authorVincent Fu <>2018-07-26 09:27:21 -0700
committerVincent Fu <>2018-07-26 09:35:52 -0700
commit3740cfc89440001e393dee1a6abae41ec89bec27 (patch)
tree6206a3158a9df6d76c9e3981da314c9cea977c9f /HOWTO
parent1583553064ba9b23badaf9350d787c245fb21aea (diff)
docs: update HOWTO and manpage for sg trim support
Also fix HOWTO sg_write_mode formatting
Diffstat (limited to 'HOWTO')
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
Sequential writes.
- Sequential trims (Linux block devices only).
+ Sequential trims (Linux block devices and SCSI
+ character devices only).
Random reads.
Random writes.
- Random trims (Linux block devices only).
+ Random trims (Linux block devices and SCSI
+ character devices only).
Sequential mixed reads and writes.
@@ -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.
@@ -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: