- 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
36 lines
1.8 KiB
Diff
36 lines
1.8 KiB
Diff
From 853356a0d72e5c1a3cc69b9eb09dff66f6e20647 Mon Sep 17 00:00:00 2001
|
|
From: Hannes Reinecke <hare@suse.de>
|
|
Date: Wed, 13 Sep 2017 09:42:01 +0200
|
|
Subject: [PATCH] 95fcoe: add timeout initqueue entries
|
|
|
|
Occasionally the FCoE connection might be reset after fipvlan was
|
|
called, causing the FCoE connection to be dropped and boot to fail.
|
|
For these cases we should be adding a timeout entry for the
|
|
initqueue to have a failsave mechanism to re-run fipvlan in
|
|
these cases.
|
|
|
|
References: bsc#1052840
|
|
|
|
Signed-off-by: Hannes Reinecke <hare@suse.com>
|
|
---
|
|
modules.d/95fcoe/fcoe-genrules.sh | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/modules.d/95fcoe/fcoe-genrules.sh b/modules.d/95fcoe/fcoe-genrules.sh
|
|
index 5b16cb0d..445a09c2 100755
|
|
--- a/modules.d/95fcoe/fcoe-genrules.sh
|
|
+++ b/modules.d/95fcoe/fcoe-genrules.sh
|
|
@@ -8,7 +8,9 @@
|
|
{
|
|
if [ -n "$fcoe_mac" ] ; then
|
|
printf 'ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="%s", RUN+="/sbin/initqueue --onetime --unique --name fcoe-up-$env{INTERFACE} /sbin/fcoe-up $env{INTERFACE} %s %s"\n' "$fcoe_mac" "$fcoe_dcb" "$fcoe_mode"
|
|
+ printf 'ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="%s", RUN+="/sbin/initqueue --onetime --timeout --unique --name fcoe-timeout-$env{INTERFACE} /sbin/fcoe-up $env{INTERFACE} %s %s"\n' "$fcoe_mac" "$fcoe_dcb" "$fcoe_mode"
|
|
else
|
|
printf 'ACTION=="add", SUBSYSTEM=="net", NAME=="%s", RUN+="/sbin/initqueue --onetime --unique --name fcoe-up-$env{INTERFACE} /sbin/fcoe-up $env{INTERFACE} %s %s"\n' "$fcoe_interface" "$fcoe_dcb" "$fcoe_mode"
|
|
+ printf 'ACTION=="add", SUBSYSTEM=="net", NAME=="%s", RUN+="/sbin/initqueue --onetime --timeout --unique --name fcoe-timeout-$env{INTERFACE} /sbin/fcoe-up $env{INTERFACE} %s %s"\n' "$fcoe_interface" "$fcoe_dcb" "$fcoe_mode"
|
|
fi
|
|
} >> /etc/udev/rules.d/92-fcoe.rules
|
|
--
|
|
2.13.6
|
|
|