SHA256
1
0
forked from pool/systemd

Accepting request 263344 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/263344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=210
This commit is contained in:
Dominique Leuenberger 2014-12-03 21:49:55 +00:00 committed by Git OBS Bridge
parent ba9b55aa79
commit 3ea9d2ce46
5 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,22 @@
Index: systemd-210/src/udev/udevd.c
===================================================================
--- systemd-210.orig/src/udev/udevd.c
+++ systemd-210/src/udev/udevd.c
@@ -454,7 +454,7 @@ static void event_run(struct event *even
if (children >= children_max) {
if (children_max > 1)
- log_debug("maximum number (%i) of children reached", children);
+ log_error("maximum number (%i) of children reached", children);
return;
}
@@ -1277,7 +1277,7 @@ int main(int argc, char *argv[]) {
children_max = 8;
if (sched_getaffinity(0, sizeof (cpu_set), &cpu_set) == 0) {
- children_max += CPU_COUNT(&cpu_set) * 2;
+ children_max += CPU_COUNT(&cpu_set) * 64;
}
}
log_debug("set children_max to %u", children_max);

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Nov 28 13:26:21 UTC 2014 - rmilasan@suse.com
- Change the maximum number of children from CPU_COUNT * 256 to
CPU_COUNT * 64.
Update 1097-udevd-increase-maximum-number-of-children.patch
-------------------------------------------------------------------
Thu Nov 27 20:30:35 UTC 2014 - rmilasan@suse.com
- Increase number of children/workers to CPU_COUNT * 256 to avoid
'maximum number of children reached' (bnc#907393).
Add 1097-udevd-increase-maximum-number-of-children.patch
-------------------------------------------------------------------
Tue Nov 25 09:44:42 UTC 2014 - rmilasan@suse.com

View File

@ -1243,6 +1243,8 @@ Patch1094: 1094-udev-avoid-magic-constants-in-kernel-cmdline-parsers.patch
Patch1095: 1095-set-ssd-disk-to-use-deadline-scheduler.patch
# PATCH-FIX-SUSE 1096-new-udev-root-symlink-generator.patch
Patch1096: 1096-new-udev-root-symlink-generator.patch
# PATCH-FIX-SUSE 1097-udevd-increase-maximum-number-of-children.patch
Patch1097: 1097-udevd-increase-maximum-number-of-children.patch
%description
Systemd is a system and service manager, compatible with SysV and LSB
@ -2043,6 +2045,7 @@ cp %{SOURCE7} m4/
%patch1094 -p0
%patch1095 -p1
%patch1096 -p1
%patch1097 -p1
# remove patch backups
find -name '*.orig' -exec rm -f '{}' \+

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Nov 28 13:26:21 UTC 2014 - rmilasan@suse.com
- Change the maximum number of children from CPU_COUNT * 256 to
CPU_COUNT * 64.
Update 1097-udevd-increase-maximum-number-of-children.patch
-------------------------------------------------------------------
Thu Nov 27 20:30:35 UTC 2014 - rmilasan@suse.com
- Increase number of children/workers to CPU_COUNT * 256 to avoid
'maximum number of children reached' (bnc#907393).
Add 1097-udevd-increase-maximum-number-of-children.patch
-------------------------------------------------------------------
Tue Nov 25 09:44:42 UTC 2014 - rmilasan@suse.com

View File

@ -1238,6 +1238,8 @@ Patch1094: 1094-udev-avoid-magic-constants-in-kernel-cmdline-parsers.patch
Patch1095: 1095-set-ssd-disk-to-use-deadline-scheduler.patch
# PATCH-FIX-SUSE 1096-new-udev-root-symlink-generator.patch
Patch1096: 1096-new-udev-root-symlink-generator.patch
# PATCH-FIX-SUSE 1097-udevd-increase-maximum-number-of-children.patch
Patch1097: 1097-udevd-increase-maximum-number-of-children.patch
%description
Systemd is a system and service manager, compatible with SysV and LSB
@ -2038,6 +2040,7 @@ cp %{SOURCE7} m4/
%patch1094 -p0
%patch1095 -p1
%patch1096 -p1
%patch1097 -p1
# remove patch backups
find -name '*.orig' -exec rm -f '{}' \+