fio: make job reap timeout 5 minutes
authorJens Axboe <axboe@fb.com>
Mon, 24 Oct 2016 16:50:24 +0000 (10:50 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 24 Oct 2016 16:50:24 +0000 (10:50 -0600)
1 minute is a bit too slow, if we're waiting on a lot of IO syncing.
Let's make it 5 minutes. This will still catch someone hung on a
kernel bug, but hopefully should not trigger for normal waits.

Signed-off-by: Jens Axboe <axboe@fb.com>
fio.h

diff --git a/fio.h b/fio.h
index 080842aef4f883e177df553fca8a73f0b23bfca5..74c1b306af26d7d8e850664f81af2f94d48f3c1c 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -588,7 +588,7 @@ extern const char *runstate_to_name(int runstate);
  * Allow 60 seconds for a job to quit on its own, otherwise reap with
  * a vengeance.
  */
  * Allow 60 seconds for a job to quit on its own, otherwise reap with
  * a vengeance.
  */
-#define FIO_REAP_TIMEOUT       60
+#define FIO_REAP_TIMEOUT       300
 
 #define TERMINATE_ALL          (-1U)
 extern void fio_terminate_threads(unsigned int);
 
 #define TERMINATE_ALL          (-1U)
 extern void fio_terminate_threads(unsigned int);