Add a verify=pattern_hdr option. Previously this was only available when
verify_pattern was set and verify= was omitted. Add a means to
explicitly select this verificaiton mode.
This is useful in the t/verify.py test script because it's troublesome
to have some jobs with a verify= option and omit this option in other
jobs when we want to test pattern verification with a header.
Link: https://lore.kernel.org/r/20250508185832.3702-2-vincent.fu@samsung.com
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
basic information and checksumming, but if this option is set, only
the specific pattern set with :option:`verify_pattern` is verified.
+ **pattern_hdr**
+ Verify a pattern in conjunction with a header.
+
**null**
Only pretend to verify. Useful for testing internals with
:option:`ioengine`\=null, not for much else.
basic information and checksumming, but if this option is set, only
the specific pattern set with \fBverify_pattern\fR is verified.
.TP
+.B pattern_hdr
+Verify a pattern in conjunction with a header.
+.TP
.B null
Only pretend to verify. Useful for testing internals with
`ioengine=null', not for much else.
.oval = VERIFY_PATTERN_NO_HDR,
.help = "Verify strict pattern",
},
+ { .ival = "pattern_hdr",
+ .oval = VERIFY_PATTERN,
+ .help = "Verify pattern with header",
+ },
{
.ival = "null",
.oval = VERIFY_NULL,