blob: e30121948d68def01e705d51be31a2a1dcf4075d [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 9c7a15312259854f12137a30229e52c30fb7c770 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Wed, 31 Aug 2016 21:30:32 -0400
4Subject: [PATCH 07/11] invoking mount 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/util.py | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/blivet/util.py b/blivet/util.py
17index bc08af5..b672787 100644
18--- a/blivet/util.py
19+++ b/blivet/util.py
20@@ -256,7 +256,7 @@ def mount(device, mountpoint, fstype, options=None):
21
22 argv = ["mount", "-t", fstype, "-o", options, device, mountpoint]
23 try:
24- rc = run_program(argv)
25+ rc = run_program(argv, timeout=-1)
26 except OSError:
27 raise
28
29--
302.7.4
31