Add initial meta-stx to support StarlingX build
[pti/rtp.git] / meta-stx / recipes-support / drbd / drbd-utils / 0008-Increase-short-cmd-timeout-to-15-secs.patch
1 From 100b44d99b0bcbac92abd2122becbfd88d155e09 Mon Sep 17 00:00:00 2001
2 From: Don Penney <don.penney@windriver.com>
3 Date: Wed, 22 Nov 2017 20:45:28 -0500
4 Subject: [PATCH] Increase short cmd timeout to 15 secs
5
6 ---
7  user/drbdadm_main.c | 2 +-
8  1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/user/drbdadm_main.c b/user/drbdadm_main.c
11 index b89e91a..19c5a44 100644
12 --- a/user/drbdadm_main.c
13 +++ b/user/drbdadm_main.c
14 @@ -1467,7 +1467,7 @@ void m__system(char **argv, int flags, const char *res_name, pid_t *kid, int *fd
15                 alarm_raised = 0;
16                 switch (flags & SLEEPS_MASK) {
17                 case SLEEPS_SHORT:
18 -                       timeout = 5;
19 +                       timeout = 15;
20                         break;
21                 case SLEEPS_LONG:
22                         timeout = COMM_TIMEOUT + 1;
23 -- 
24 1.8.3.1
25