blob: c441acd17372ceabf61973f97388eb0cf0a849be [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From 33844f6773a676bd57240954e402ae9a843663a4 Mon Sep 17 00:00:00 2001
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08002From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Fri, 16 Jun 2017 15:43:00 +0800
4Subject: [PATCH 10/11] invoking mkfs 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>
Patrick Williams213cb262021-08-07 19:21:33 -050012
13Rebase for python3-blivet 3.4.0.
14
15Signed-off-by: Kai Kang <kai.kang@windriver.com>
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016---
17 blivet/tasks/fsmkfs.py | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20diff --git a/blivet/tasks/fsmkfs.py b/blivet/tasks/fsmkfs.py
Patrick Williams213cb262021-08-07 19:21:33 -050021index e4a6aaa8..9730f7e5 100644
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080022--- a/blivet/tasks/fsmkfs.py
23+++ b/blivet/tasks/fsmkfs.py
Patrick Williams213cb262021-08-07 19:21:33 -050024@@ -203,7 +203,7 @@ class FSMkfs(task.BasicApplication, FSMkfsTask):
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080025 options = options or []
Patrick Williams213cb262021-08-07 19:21:33 -050026 cmd = self._mkfs_command(options, label, set_uuid, nodiscard)
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027 try:
28- ret = util.run_program(cmd)
29+ ret = util.run_program(cmd, timeout=-1)
30 except OSError as e:
31 raise FSError(e)
32
33--
342.7.4
35