From 1a5ee75e291ddc158c0f2a6ff021bba1c60a4baf Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Feb 10 2014 15:41:23 +0000 Subject: import irqbalance-1.0.6-5.el7.src.rpm --- diff --git a/.irqbalance.metadata b/.irqbalance.metadata index 51d77bd..1b23d2f 100644 --- a/.irqbalance.metadata +++ b/.irqbalance.metadata @@ -1 +1 @@ -7710acc8c28ed6ee5ce388760562b47089761601 SOURCES/irqbalance-1.0.6.tar.gz +50407f4f4f3a1e03bf20d58d7389a713658e9103 SOURCES/v1.0.6.tar.gz diff --git a/SOURCES/irqbalance-1.0.6-ignore_affinity_hint.patch b/SOURCES/irqbalance-1.0.6-ignore_affinity_hint.patch new file mode 100644 index 0000000..c53b517 --- /dev/null +++ b/SOURCES/irqbalance-1.0.6-ignore_affinity_hint.patch @@ -0,0 +1,24 @@ +diff -up irqbalance-1.0.6/irqbalance.1.orig irqbalance-1.0.6/irqbalance.1 +--- irqbalance-1.0.6/irqbalance.1.orig 2014-02-10 15:46:52.175496460 +0100 ++++ irqbalance-1.0.6/irqbalance.1 2014-02-10 15:47:25.774548481 +0100 +@@ -57,6 +57,8 @@ irq is balanced, but the assigned object + .P + .I ignore + irq affinity hint value is completely ignored ++.P ++The default value for hintpolicy is ignore + + .TP + .B -p, --powerthresh= +diff -up irqbalance-1.0.6/irqbalance.c.orig irqbalance-1.0.6/irqbalance.c +--- irqbalance-1.0.6/irqbalance.c.orig 2014-02-10 15:46:38.794475738 +0100 ++++ irqbalance-1.0.6/irqbalance.c 2014-02-10 15:47:25.774548481 +0100 +@@ -48,7 +48,7 @@ int foreground_mode; + int numa_avail; + int need_rescan; + unsigned int log_mask = TO_ALL; +-enum hp_e hint_policy = HINT_POLICY_SUBSET; ++enum hp_e hint_policy = HINT_POLICY_IGNORE; + unsigned long power_thresh = ULONG_MAX; + unsigned long long cycle_count = 0; + char *pidfile = NULL; diff --git a/SPECS/irqbalance.spec b/SPECS/irqbalance.spec index 7e4ba3f..57e6ecf 100644 --- a/SPECS/irqbalance.spec +++ b/SPECS/irqbalance.spec @@ -1,13 +1,13 @@ Name: irqbalance Version: 1.0.6 -Release: 3%{?dist} +Release: 5%{?dist} Epoch: 2 Summary: IRQ balancing daemon Group: System Environment/Base License: GPLv2 -Url: http://irqbalance.org/ -Source0: http://irqbalance.googlecode.com/files/irqbalance-%{version}.tar.gz +Url: https://github.com/Irqbalance/irqbalance +Source0: https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz Source1: irqbalance.sysconfig BuildRequires: autoconf automake libtool libcap-ng @@ -30,6 +30,7 @@ Patch1: irqbalance-1.0.4-env-file-path.patch Patch2: irqbalance-1.0.6-man_usage_fix.patch Patch3: irqbalance-1.0.6-cpuhotplug-sigsegv.patch Patch4: irqbalance-1.0.6-man_IRQBALANCE_BANNED_CPUS.patch +Patch5: irqbalance-1.0.6-ignore_affinity_hint.patch %description irqbalance is a daemon that evenly distributes IRQ load across @@ -41,8 +42,10 @@ multiple CPUs for enhanced performance. %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 %build +./autogen.sh %{configure} CFLAGS="%{optflags}" make %{?_smp_mflags} @@ -78,6 +81,14 @@ fi /sbin/chkconfig --del irqbalance >/dev/null 2>&1 || : %changelog +* Mon Feb 10 2014 Petr Holasek - 2:1.0.6-5 +- Fixed irqbalance web adresses in spec (bz1060810) +- Default hintpolicy adjusted (bz1060814) +- Missing autogen.sh call fixed + +* Fri Dec 27 2013 Daniel Mach - 2:1.0.6-4 +- Mass rebuild 2013-12-27 + * Thu Oct 31 2013 Petr Holasek - 2:1.0.6-3 - Fixed env variable man page description (bz1020633) @@ -205,7 +216,7 @@ fi * Fri Aug 01 2008 Tom "spot" Callaway - 2:0.55-11 - fix license tag -* Tue Jun 04 2008 Neil Horman - 2:0.55-10 +* Wed Jun 04 2008 Neil Horman - 2:0.55-10 - Update man page to explain why irqbalance exits on single cache (bz 449949) * Tue Mar 18 2008 Neil Horman - 2:0.55-9