Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jun 22, 2023

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 8ce9c4003aeaafa91c3278c1c7de4a32fadc5ea0:

docs: clarify opendir description (2023-06-16 10:41:25 -0400)

are available in the Git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 5087502fb05b2b4d756045c594a2e09c2ffc97dc:

init: don't adjust time units again for subjobs (2023-06-20 14:11:36 -0400)

----------------------------------------------------------------
Vincent Fu (1):
init: don't adjust time units again for subjobs

 init.c | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

---

Diff of recent changes:

init.c +9 -6
index 437406ec..10e63cca 100644
@@ -951,13 +951,16 @@ static int fixup_options(struct thread_data *td)
 	if (o->disable_slat)
 		o->slat_percentiles = 0;
 
-	/*
-	 * Fix these up to be nsec internally
-	 */
-	for_each_rw_ddir(ddir)
-		o->max_latency[ddir] *= 1000ULL;
+	/* Do this only for the parent job */
+	if (!td->subjob_number) {
+		/*
+		 * Fix these up to be nsec internally
+		 */
+		for_each_rw_ddir(ddir)
+			o->max_latency[ddir] *= 1000ULL;
 
-	o->latency_target *= 1000ULL;
+		o->latency_target *= 1000ULL;
+	}
 
 	/*
 	 * Dedupe working set verifications