From 5ac2223af15d3e52e45985b37a6f1966cd7bc9ed Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Nov 01 2013 09:54:45 +0000 Subject: import irqbalance-1.0.6-3.el7.src.rpm --- diff --git a/.irqbalance.metadata b/.irqbalance.metadata new file mode 100644 index 0000000..51d77bd --- /dev/null +++ b/.irqbalance.metadata @@ -0,0 +1 @@ +7710acc8c28ed6ee5ce388760562b47089761601 SOURCES/irqbalance-1.0.6.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/irqbalance-1.0.4-env-file-path.patch b/SOURCES/irqbalance-1.0.4-env-file-path.patch new file mode 100644 index 0000000..6a24e26 --- /dev/null +++ b/SOURCES/irqbalance-1.0.4-env-file-path.patch @@ -0,0 +1,12 @@ +diff -up irqbalance-1.0.4/misc/irqbalance.service.orig irqbalance-1.0.4/misc/irqbalance.service +--- irqbalance-1.0.4/misc/irqbalance.service.orig 2012-08-29 16:24:42.011844627 +0200 ++++ irqbalance-1.0.4/misc/irqbalance.service 2012-08-29 16:24:59.817845765 +0200 +@@ -3,7 +3,7 @@ Description=irqbalance daemon + After=syslog.target + + [Service] +-EnvironmentFile=/path/to/irqbalance.env ++EnvironmentFile=/etc/sysconfig/irqbalance + ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS + + [Install] diff --git a/SOURCES/irqbalance-1.0.6-cpuhotplug-sigsegv.patch b/SOURCES/irqbalance-1.0.6-cpuhotplug-sigsegv.patch new file mode 100644 index 0000000..11f0e6c --- /dev/null +++ b/SOURCES/irqbalance-1.0.6-cpuhotplug-sigsegv.patch @@ -0,0 +1,12 @@ +diff -up irqbalance-1.0.6/classify.c.orig irqbalance-1.0.6/classify.c +--- irqbalance-1.0.6/classify.c.orig 2013-09-10 17:19:34.335319255 +0200 ++++ irqbalance-1.0.6/classify.c 2013-09-10 17:20:43.228351956 +0200 +@@ -420,6 +420,8 @@ void free_irq_db(void) + for_each_irq(NULL, free_irq, NULL); + g_list_free(interrupts_db); + interrupts_db = NULL; ++ g_list_free(rebalance_irq_list); ++ rebalance_irq_list = NULL; + } + + void rebuild_irq_db(void) diff --git a/SOURCES/irqbalance-1.0.6-man_IRQBALANCE_BANNED_CPUS.patch b/SOURCES/irqbalance-1.0.6-man_IRQBALANCE_BANNED_CPUS.patch new file mode 100644 index 0000000..677f938 --- /dev/null +++ b/SOURCES/irqbalance-1.0.6-man_IRQBALANCE_BANNED_CPUS.patch @@ -0,0 +1,17 @@ +diff -up irqbalance-1.0.6/irqbalance.1.orig irqbalance-1.0.6/irqbalance.1 +--- irqbalance-1.0.6/irqbalance.1.orig 2013-10-31 16:13:49.250139242 +0100 ++++ irqbalance-1.0.6/irqbalance.1 2013-10-31 16:44:59.368055192 +0100 +@@ -119,7 +119,12 @@ Same as --debug + + .TP + .B IRQBALANCE_BANNED_CPUS +-Provides a mask of cpus which irqbalance should ignore and never assign interrupts to ++Provides a mask of cpus which irqbalance should ignore and never assign interrupts to. ++This is a hex mask without the leading ’0x’, on systems with large numbers of processors ++each group of eight hex digits is separated by a comma ’,’. i.e. ‘export IRQBALANCE_BANNED_CPUS=fc0‘ ++would prevent irqbalance from assigning irqs to the 7th-12th cpus (cpu6-cpu11) or ++‘export IRQBALANCE_BANNED_CPUS=ff000000,00000001‘ would prevent irqbalance from ++assigning irqs to the 1st (cpu0) and 57th-64th cpus (cpu56-cpu63). + + .SH "SIGNALS" + .TP diff --git a/SOURCES/irqbalance-1.0.6-man_usage_fix.patch b/SOURCES/irqbalance-1.0.6-man_usage_fix.patch new file mode 100644 index 0000000..ee8b0b8 --- /dev/null +++ b/SOURCES/irqbalance-1.0.6-man_usage_fix.patch @@ -0,0 +1,75 @@ +diff -up irqbalance-1.0.6/irqbalance.1.orig irqbalance-1.0.6/irqbalance.1 +--- irqbalance-1.0.6/irqbalance.1.orig 2013-02-13 21:35:48.000000000 +0100 ++++ irqbalance-1.0.6/irqbalance.1 2013-08-12 20:29:51.322114469 +0200 +@@ -34,19 +34,19 @@ The purpose of \fBirqbalance\fR is distr + .SH "OPTIONS" + + .TP +-.B --oneshot ++.B -o, --oneshot + Causes irqbalance to be run once, after which the daemon exits + .TP + +-.B --debug ++.B -d, --debug + Causes irqbalance to print extra debug information. Implies --foreground + + .TP +-.B --foreground ++.B -f, --foreground + Causes irqbalance to run in the foreground (without --debug) + + .TP +-.B --hintpolicy=[exact | subset | ignore] ++.B -h, --hintpolicy=[exact | subset | ignore] + Set the policy for how irq kernel affinity hinting is treated. Can be one of: + .P + .I exact +@@ -59,7 +59,7 @@ irq is balanced, but the assigned object + irq affinity hint value is completely ignored + + .TP +-.B --powerthresh= ++.B -p, --powerthresh= + Set the threshold at which we attempt to move a cpu into powersave mode + If more than cpus are more than 1 standard deviation below the + average cpu softirq workload, and no cpus are more than 1 standard deviation +@@ -68,7 +68,7 @@ powersave mode. In powersave mode, a cp + in an effort to prevent that cpu from waking up without need. + + .TP +-.B --banirq= ++.B -i, --banirq= + Add the specified irq to the set of banned irqs. irqbalance will not affect + the affinity of any irqs on the banned list, allowing them to be specified + manually. This option is addative and can be specified multiple times. For +@@ -77,7 +77,7 @@ example to ban irqs 43 and 44 from balan + + + .TP +-.B --policyscript=