irqbalance_mck: replace extra service with service drop-in

Using a drop-in instead of an extra service avoids having to juggle
between both services (especially since irqbalance_mck did not have a
Conflict=irqbalance.service statement)

That way, we only have a single service to check for (irqbalance.service),
and system administrators should find this less confusing if they normally
rely on irqbalance.

The drop-in is also installed in /run so will automatically disappear in
the event of a linux crash or a reboot without shutting down mckernel

Change-Id: I004f4f25d9ca037e411e0bc91f4555db138ecfef
This commit is contained in:
Dominique Martinet
2019-03-11 18:17:31 +09:00
parent 2dc51530f3
commit dfb3bef96d
6 changed files with 48 additions and 93 deletions

View File

@ -87,7 +87,6 @@ Interface for Heterogeneous Kernels and McKernel.
%{_includedir}/ihk/affinity.h
%{_includedir}/ihk/ihk_rusage.h
%{_sysconfdir}/irqbalance_mck.in
%{_sysconfdir}/irqbalance_mck.service
%{_mandir}/man1/mcreboot.1.gz
%{_mandir}/man1/ihkconfig.1.gz
%{_mandir}/man1/ihkosctl.1.gz