t/verify-state.c: adjust to verify state format change
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Thu, 13 Feb 2025 05:25:10 +0000 (14:25 +0900)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Feb 2025 14:27:04 +0000 (07:27 -0700)
commit0e0d9a3a3a0aec52836d32d749d4f838b673d73c
treef5c72a14d270daf66e430e006ed532fa08321aa2
parent9abce429d3211add643229a593d0b028b51f5942
t/verify-state.c: adjust to verify state format change

The previous commit modified the format of verify state files. To adjust
to the change, add support of the new field "max_no_comps_per_file" and
pass it to __thread_io_list_sz(). Also check the version number against
the new version 4.

Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Link: https://lore.kernel.org/r/20250213052510.1474423-4-shinichiro.kawasaki@wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/verify-state.c