1*19323693SBrad BishopFrom 9624b6d0dda40aaecbaf9530be819943575a2ec6 Mon Sep 17 00:00:00 2001 21a4b7ee2SBrad BishopFrom: Hongxu Jia <hongxu.jia@windriver.com> 31a4b7ee2SBrad BishopDate: Thu, 1 Jun 2017 16:05:27 +0800 41a4b7ee2SBrad BishopSubject: [PATCH 09/11] invoking fsck with infinite timeout 51a4b7ee2SBrad Bishop 61a4b7ee2SBrad BishopThis large timeout is needed when running on machines with 71a4b7ee2SBrad Bishoplots of disks, or with slow disks. 81a4b7ee2SBrad Bishop 91a4b7ee2SBrad BishopUpstream-Status: Pending 101a4b7ee2SBrad Bishop 111a4b7ee2SBrad BishopSigned-off-by: Hongxu Jia <hongxu.jia@windriver.com> 121a4b7ee2SBrad Bishop--- 131a4b7ee2SBrad Bishop blivet/tasks/fsck.py | 2 +- 141a4b7ee2SBrad Bishop 1 file changed, 1 insertion(+), 1 deletion(-) 151a4b7ee2SBrad Bishop 161a4b7ee2SBrad Bishopdiff --git a/blivet/tasks/fsck.py b/blivet/tasks/fsck.py 171a4b7ee2SBrad Bishopindex 5274f13..6e074c4 100644 181a4b7ee2SBrad Bishop--- a/blivet/tasks/fsck.py 191a4b7ee2SBrad Bishop+++ b/blivet/tasks/fsck.py 201a4b7ee2SBrad Bishop@@ -77,7 +77,7 @@ class FSCK(task.BasicApplication, fstask.FSTask): 211a4b7ee2SBrad Bishop raise FSError("\n".join(error_msgs)) 221a4b7ee2SBrad Bishop 231a4b7ee2SBrad Bishop try: 241a4b7ee2SBrad Bishop- rc = util.run_program(self._fsck_command) 251a4b7ee2SBrad Bishop+ rc = util.run_program(self._fsck_command, timeout=-1) 261a4b7ee2SBrad Bishop except OSError as e: 271a4b7ee2SBrad Bishop raise FSError("filesystem check failed: %s" % e) 281a4b7ee2SBrad Bishop 291a4b7ee2SBrad Bishop-- 301a4b7ee2SBrad Bishop2.7.4 311a4b7ee2SBrad Bishop 32