Blame SOURCES/0001-init-fix-unit-of-latency_window.patch

86436f
From 2e3fb343ec883674a4927f2da983759bf90a0671 Mon Sep 17 00:00:00 2001
86436f
From: Song Liu <songliubraving@fb.com>
86436f
Date: Sun, 17 May 2020 22:46:21 -0700
86436f
Subject: [PATCH] init: fix unit of latency_window
86436f
86436f
latency_window has unit of microseconds, and is compared against
86436f
usec_window. Therefore, there is no need to fix it up to nanoseconds.
86436f
86436f
Signed-off-by: Song Liu <songliubraving@fb.com>
86436f
---
86436f
 init.c | 1 -
86436f
 1 file changed, 1 deletion(-)
86436f
86436f
diff --git a/init.c b/init.c
86436f
index b5315334..0431f700 100644
86436f
--- a/init.c
86436f
+++ b/init.c
86436f
@@ -956,7 +956,6 @@ static int fixup_options(struct thread_data *td)
86436f
 	 */
86436f
 	o->max_latency *= 1000ULL;
86436f
 	o->latency_target *= 1000ULL;
86436f
-	o->latency_window *= 1000ULL;
86436f
 
86436f
 	return ret;
86436f
 }
86436f
-- 
86436f
2.17.0
86436f