projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7431e15
)
verify: omit verify type mismatch error message for pattern verify
author
Vincent Fu
<vincentfu@gmail.com>
Thu, 8 May 2025 18:58:12 +0000
(14:58 -0400)
committer
Vincent Fu
<vincent.fu@samsung.com>
Fri, 16 May 2025 16:09:30 +0000
(12:09 -0400)
When we are carrying out pattern verification without a header we should
not print out an error message about a verify type mismatch because
there is no header on the media specifying the verify type.
Link:
https://lore.kernel.org/r/20250508185832.3702-5-vincent.fu@samsung.com
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
verify.c
patch
|
blob
|
blame
|
history
diff --git
a/verify.c
b/verify.c
index c90c008c92f2e23faa078c78a3b50583525f1be4..cffe5999b0b006bfe975f911222a210d5bbb1040 100644
(file)
--- a/
verify.c
+++ b/
verify.c
@@
-1031,7
+1031,7
@@
int verify_io_u(struct thread_data *td, struct io_u **io_u_ptr)
ret = EINVAL;
}
- if (ret && verify_type != hdr->verify_type)
+ if (ret && verify_type != hdr->verify_type
&& verify_type != VERIFY_PATTERN_NO_HDR
)
log_err("fio: verify type mismatch (%u media, %u given)\n",
hdr->verify_type, verify_type);
}