X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=backend.c;h=d41c742b9edd070b48da42712bc86d4ab63bf9f8;hp=76994d90b9c59b3ae059dbae99d12f7e77ce1c6d;hb=d264264a084e4989f7be577001484981bd606669;hpb=29492450e62a72da7bd4aae95e9f0484a4b72b11 diff --git a/backend.c b/backend.c index 76994d90..d41c742b 100644 --- a/backend.c +++ b/backend.c @@ -1638,16 +1638,8 @@ static void *thread_main(void *data) td->ts.io_bytes[DDIR_TRIM] = td->io_bytes[DDIR_TRIM]; if (td->o.verify_state_save && !(td->flags & TD_F_VSTATE_SAVED) && - (td->o.verify != VERIFY_NONE && td_write(td))) { - struct all_io_list *state; - size_t sz; - - state = get_all_io_list(td->thread_number, &sz); - if (state) { - __verify_save_state(state, "local"); - free(state); - } - } + (td->o.verify != VERIFY_NONE && td_write(td))) + verify_save_state(td->thread_number); fio_unpin_memory(td); @@ -1897,7 +1889,7 @@ void check_trigger_file(void) if (nr_clients) fio_clients_send_trigger(trigger_remote_cmd); else { - verify_save_state(); + verify_save_state(IO_LIST_ALL); fio_terminate_threads(TERMINATE_ALL); exec_trigger(trigger_cmd); }