Repository navigation
Commit de6200c
committed
Actually verify md5 on the formatted lane, and only forgive it on GCP
Checked what the formatted lane was doing before claiming it was a weaker
detector, and on k8s it was not a detector at all: _run_fio_dual's job config
carries ioengine, direct, bs, iodepth, numjobs, rw, size, nrfiles -- and no
verify of any kind. It moved IO and checked nothing. Only the docker path
verified, through the --verify=md5 hardcoded inside run_fio_test, so the two
platforms were never checking the same thing and the md5 severity work applied
to one of them.
_run_fio_dual now takes verify= and verify_fatal=, both off by default so every
existing caller is untouched. The lblk formatted lane passes verify="md5".
verify_fatal follows the hardware, which is the rule you set. Where a 4K atomic
write is guaranteed a mismatch is a real defect and fails the job outright;
on GCP's pd-balanced disks it can be an artefact of run_fio_test's own
verify_backlog, so it is recorded and triaged rather than failing the run. Same
decision as _md5_severity, derived from CLUSTER_ENV in both places.
Rendered all three configs to confirm: existing callers get no verify line,
atomic hardware gets verify=md5 plus verify_fatal=1, GCP gets verify=md5
without it.
So the two lanes now genuinely differ in what they can prove, which was the
point of running both: raw crc32c is unconditional and nothing can absorb a
torn write, while md5-through-a-filesystem is trusted only where the hardware
earns it.1 parent 48f0e68 commit de6200c
2 files changed
Lines changed: 32 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1275 | 1275 | | |
1276 | 1276 | | |
1277 | 1277 | | |
1278 | | - | |
1279 | | - | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
1280 | 1291 | | |
1281 | 1292 | | |
1282 | 1293 | | |
| |||
1288 | 1299 | | |
1289 | 1300 | | |
1290 | 1301 | | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
1291 | 1307 | | |
1292 | 1308 | | |
1293 | 1309 | | |
1294 | 1310 | | |
1295 | 1311 | | |
1296 | 1312 | | |
1297 | 1313 | | |
| 1314 | + | |
1298 | 1315 | | |
1299 | 1316 | | |
1300 | 1317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
453 | 453 | | |
454 | 454 | | |
455 | 455 | | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
456 | 468 | | |
457 | 469 | | |
458 | 470 | | |
459 | | - | |
| 471 | + | |
460 | 472 | | |
461 | 473 | | |
462 | 474 | | |
| |||
0 commit comments