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

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