docs: update docs for verify_mode=compare of io_uring_cmd
authorMinwoo Im <minwoo.im@samsung.com>
Sat, 1 Mar 2025 23:47:33 +0000 (08:47 +0900)
committerMinwoo Im <minwoo.im@samsung.com>
Mon, 3 Mar 2025 20:43:52 +0000 (05:43 +0900)
Add missing limitation of verify_mode=compare in io_uring_cmd
ioengine.  Data verification with NVMe COMPARE command has been
introduced in Commit 6170d92a61da ("io_uring: Support Compare command
for verification") and this should have documented COMPARE command only
supports in case of data pattern verification.

The two more options should be with --verify_mode=compare.
verify_mode=compare
verify=pattern
verify_pattern=<pattern>

Signed-off-by: Minwoo Im <minwoo.im@samsung.com>
HOWTO.rst
fio.1

index 3f2bde18dc39eb17741f8bb8ab881ee76a5cf12b..62537b6558b2e3a41a181e0d28c607cf66426dc8 100644 (file)
--- a/HOWTO.rst
+++ b/HOWTO.rst
@@ -2896,7 +2896,9 @@ with the caveat that when used on the command line, they must come after the
                 **read**
                         Use Read commands for data verification
                 **compare**
-                        Use Compare commands for data verification
+                        Use Compare commands for data verification.  This option is only valid with
+                        specific pattern(s), which means it *must* be given with `verify=pattern` and
+                        `verify_pattern=<pattern>`.
 
 .. option:: sg_write_mode=str : [sg]
 
diff --git a/fio.1 b/fio.1
index 3c5f02b35d454cd5d33275dbfa8b4475ece11f4b..1581797a93a37332f875c0d4e53b29c8fe8d41ef 100644 (file)
--- a/fio.1
+++ b/fio.1
@@ -2686,7 +2686,9 @@ Specifies the type of command to be used in the verification phase. Defaults to
 Use Read commands for data verification
 .TP
 .B compare
-Use Compare commands for data verification
+Use Compare commands for data verification.  This option is only valid with
+specific pattern(s), which means it *must* be given with `verify=pattern` and
+`verify_pattern=<pattern>`.
 .TP
 .RE
 .RE