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

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