From b29472cbdbce66ad9905b58f04ac5ed9e9be0090 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Tue, 24 May 2022 14:23:24 +0000 Subject: [PATCH] steadystate: delete incorrect comment Fio actually does not begin collecting steady state data until the steady state ramp time has expired. Remove the comment that said steady state data is collected from the start of the job. Signed-off-by: Vincent Fu Link: https://lore.kernel.org/r/20220524142229.135808-2-vincent.fu@samsung.com Signed-off-by: Jens Axboe --- steadystate.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/steadystate.c b/steadystate.c index 2e3da1db..ad19318c 100644 --- a/steadystate.c +++ b/steadystate.c @@ -250,13 +250,6 @@ int steadystate_check(void) rate_time = mtime_since(&ss->prev_time, &now); memcpy(&ss->prev_time, &now, sizeof(now)); - /* - * Begin monitoring when job starts but don't actually use - * data in checking stopping criterion until ss->ramp_time is - * over. This ensures that we will have a sane value in - * prev_iops/bw the first time through after ss->ramp_time - * is done. - */ if (ss->state & FIO_SS_RAMP_OVER) { group_bw += 1000 * (td_bytes - ss->prev_bytes) / rate_time; group_iops += 1000 * (td_iops - ss->prev_iops) / rate_time; -- 2.25.1