From 39ff1b3c52de9584eec7068cbbbd83390a295a11 Mon Sep 17 00:00:00 2001 From: Stephen Atherton Date: Wed, 5 Jul 2017 14:43:10 -0700 Subject: [PATCH] =?UTF-8?q?Bug=20fix,=20when=20io=5Ftimeouts=20are=20enabl?= =?UTF-8?q?ed=20in=20warn=20only=20mode=20they=20weren=E2=80=99t=20being?= =?UTF-8?q?=20logged=20at=20all.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fdbrpc/AsyncFileKAIO.actor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdbrpc/AsyncFileKAIO.actor.h b/fdbrpc/AsyncFileKAIO.actor.h index b74f62d0fd..81cc3870f1 100644 --- a/fdbrpc/AsyncFileKAIO.actor.h +++ b/fdbrpc/AsyncFileKAIO.actor.h @@ -504,7 +504,7 @@ private: } void setIOTimeout(double timeout) { - ioTimeout = timeout; + ioTimeout = fabs(timeout); timeoutWarnOnly = timeout < 0; }