From: Jens Axboe Date: Thu, 11 Jan 2007 12:58:32 +0000 (+0100) Subject: Revert "[PATCH] Move disk utilization setup to thread itself" X-Git-Tag: fio-1.12~160 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=8da99b32a71f8b7edcb94d9fd42a605129ffa414 Revert "[PATCH] Move disk utilization setup to thread itself" This reverts commit d52fb0c44567cf4fdc2a2c307c32672cc5a57170. --- diff --git a/fio.c b/fio.c index b376c7a1..dd526264 100644 --- a/fio.c +++ b/fio.c @@ -673,7 +673,6 @@ static void *thread_main(void *data) if (td->exec_prerun) system(td->exec_prerun); - init_disk_util(td); fio_gettime(&td->epoch, NULL); getrusage(RUSAGE_SELF, &td->ru_start); @@ -837,6 +836,8 @@ static void run_threads(void) for_each_td(td, i) { print_status_init(td->thread_number - 1); + init_disk_util(td); + if (!td->create_serialize) continue;