Hello community, here is the log from the commit of package irqbalance for openSUSE:Factory checked in at 2014-09-12 11:19:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/irqbalance (Old) and /work/SRC/openSUSE:Factory/.irqbalance.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "irqbalance" Changes: -------- --- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes 2014-06-19 13:08:37.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.irqbalance.new/irqbalance.changes 2014-09-12 11:19:06.000000000 +0200 @@ -1,0 +2,8 @@ +Thu Sep 11 13:12:26 UTC 2014 - [email protected] + +- Only warn once for affinity hint subset empty irqs +* Add bug-893478_warn-once.patch +- Rename rcirq_balancer like the package name and the already renamed + systemd service: rcirqbalance + +------------------------------------------------------------------- New: ---- bug-893478_warn-once.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ irqbalance.spec ++++++ --- /var/tmp/diff_new_pack.ytoiEq/_old 2014-09-12 11:19:07.000000000 +0200 +++ /var/tmp/diff_new_pack.ytoiEq/_new 2014-09-12 11:19:07.000000000 +0200 @@ -25,6 +25,7 @@ Url: http://code.google.com/p/irqbalance Source: http://irqbalance.googlecode.com/files/%{name}-%{version}.tar.bz2 Source3: sysconfig.irqbalance +Patch0: bug-893478_warn-once.patch BuildRequires: libnuma-devel BuildRequires: libtool BuildRequires: pkgconfig(glib-2.0) @@ -43,6 +44,7 @@ %prep %setup -q +%patch0 -p1 %build ./autogen.sh @@ -62,7 +64,7 @@ # Remove syslog.target in systemd service file; not provided by systemd anymore sed -ie "s|After=syslog.target||g" misc/irqbalance.service install -D -m 0644 misc/irqbalance.service %{buildroot}%{_unitdir}/irqbalance.service -ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcirq_balancer +ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcirqbalance %pre %service_add_pre irqbalance.service @@ -80,7 +82,7 @@ %files %defattr(-,root,root,-) %{_sbindir}/irqbalance -%{_sbindir}/rcirq_balancer +%{_sbindir}/rcirqbalance %{_unitdir}/irqbalance.service %{_mandir}/man1/irqbalance.1.gz %{_localstatedir}/adm/fillup-templates/sysconfig.irqbalance ++++++ bug-893478_warn-once.patch ++++++ From: Takashi Iwai <[email protected]> Only warn once for affinity hint subset empty irqs bnc#893478 Signed-off-by: Thomas Renninger <[email protected]> --- activate.c | 13 ++++++++----- types.h | 1 + 2 files changed, 9 insertions(+), 5 deletions(-) --- a/activate.c +++ b/activate.c @@ -84,11 +84,14 @@ static void activate_mapping(struct irq_ if ((hint_policy == HINT_POLICY_SUBSET) && (!cpus_empty(info->affinity_hint))) { cpus_and(applied_mask, applied_mask, info->affinity_hint); - if (!cpus_intersects(applied_mask, unbanned_cpus)) - log(TO_ALL, LOG_WARNING, - "irq %d affinity_hint subset empty\n", - info->irq); - else + if (!cpus_intersects(applied_mask, unbanned_cpus)) { + if (!info->warned) { + info->warned = 1; + log(TO_ALL, LOG_WARNING, + "irq %d affinity_hint subset empty\n", + info->irq); + } + } else valid_mask = 1; } else { valid_mask = 1; --- a/types.h +++ b/types.h @@ -69,6 +69,7 @@ struct irq_info { uint64_t load; int moved; struct topo_obj *assigned_obj; + unsigned int warned; }; #endif -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
