blob: f4778779b65ccb95aa65309b9173a505d9efa362 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From 9624b6d0dda40aaecbaf9530be819943575a2ec6 Mon Sep 17 00:00:00 2001
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08002From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Thu, 1 Jun 2017 16:05:27 +0800
4Subject: [PATCH 09/11] invoking fsck with infinite timeout
5
6This large timeout is needed when running on machines with
7lots of disks, or with slow disks.
8
9Upstream-Status: Pending
10
11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
12---
13 blivet/tasks/fsck.py | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/blivet/tasks/fsck.py b/blivet/tasks/fsck.py
17index 5274f13..6e074c4 100644
18--- a/blivet/tasks/fsck.py
19+++ b/blivet/tasks/fsck.py
20@@ -77,7 +77,7 @@ class FSCK(task.BasicApplication, fstask.FSTask):
21 raise FSError("\n".join(error_msgs))
22
23 try:
24- rc = util.run_program(self._fsck_command)
25+ rc = util.run_program(self._fsck_command, timeout=-1)
26 except OSError as e:
27 raise FSError("filesystem check failed: %s" % e)
28
29--
302.7.4
31