dracut/0549-fcoe-up-Increase-sleeptime-to-13s.patch
Daniel Molkentin 2d329d2a73 Accepting request 557319 from home:dmolkentin:branches:Base:System
- Fix task limit in emergency.service (same as in dracut-emergency.service) (bsc#1052840)
- 95fcoe: Allow bnc2x driver more time to complete DCB negotiation (bsc#1052840)
  * adds 0549-fcoe-up-Increase-sleeptime-to-13s.patch
- 95fcoe: add timeout initqueue entries (bsc#1052840)
  * adds 0550-95fcoe-add-timeout-initqueue-entries.patch

OBS-URL: https://build.opensuse.org/request/show/557319
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=329
2017-12-15 12:46:13 +00:00

35 lines
1.1 KiB
Diff

From be4084fa2c097cd4b0ca870501e1a9628141de07 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Thu, 12 Oct 2017 13:38:11 +0200
Subject: [PATCH 2/3] fcoe-up: Increase sleeptime to 13s
The bnx2 driver requires some time to complete DCB negotiation,
so we should rather increase the sleep time to avoid FCoE not
being able to start correctly.
References: bsc#1052840
Signed-off-by: Hannes Reinecke <hare@suse.com>
---
modules.d/95fcoe/fcoe-up.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules.d/95fcoe/fcoe-up.sh b/modules.d/95fcoe/fcoe-up.sh
index 261bf70c..21947447 100755
--- a/modules.d/95fcoe/fcoe-up.sh
+++ b/modules.d/95fcoe/fcoe-up.sh
@@ -55,8 +55,8 @@ if [ "$netdriver" = "bnx2x" ]; then
# If driver is bnx2x, do not use /sys/module/fcoe/parameters/create but fipvlan
modprobe 8021q
udevadm settle --timeout=30
- # Sleep for 3 s to allow dcb negotiation
- sleep 3
+ # Sleep for 13 s to allow dcb negotiation
+ sleep 13
fipvlan "$netif" -c -s
need_shutdown
exit
--
2.13.6