docs: clarify write_iolog description
authorVincent Fu <vincent.fu@samsung.com>
Fri, 15 Jul 2022 20:20:55 +0000 (20:20 +0000)
committerVincent Fu <vincentfu@gmail.com>
Thu, 21 Jul 2022 19:18:18 +0000 (15:18 -0400)
Note that the log file is opened in append mode to avoid confusion when
the same log file is used repeatedly.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
HOWTO.rst
fio.1

index 470777e2ebd8f85ca74bf78dbdf608d7b4613f58..104cce2d211510e735497fdfeaa0fb23e8d85dc7 100644 (file)
--- a/HOWTO.rst
+++ b/HOWTO.rst
@@ -3049,7 +3049,8 @@ I/O replay
 
        Write the issued I/O patterns to the specified file. See
        :option:`read_iolog`.  Specify a separate file for each job, otherwise the
-       iologs will be interspersed and the file may be corrupt.
+        iologs will be interspersed and the file may be corrupt. This file will
+        be opened in append mode.
 
 .. option:: read_iolog=str
 
diff --git a/fio.1 b/fio.1
index 948c01f9c3c0f65562be0cc3ac565216d7e2147e..ce9bf3ef4d104ac3c2be4a0a3056a29051975209 100644 (file)
--- a/fio.1
+++ b/fio.1
@@ -2793,7 +2793,8 @@ of milliseconds. Defaults to 1000.
 .BI write_iolog \fR=\fPstr
 Write the issued I/O patterns to the specified file. See
 \fBread_iolog\fR. Specify a separate file for each job, otherwise the
-iologs will be interspersed and the file may be corrupt.
+iologs will be interspersed and the file may be corrupt. This file will be
+opened in append mode.
 .TP
 .BI read_iolog \fR=\fPstr
 Open an iolog with the specified filename and replay the I/O patterns it