Bug#946791: io.weight cannot be enabled in recent Debian kernel package
Hi
On Wed, Mar 17, 2021 at 03:13:59PM +0100, Michael Biebl wrote:
> Control: retitle -1 Please enable CONFIG_IOSCHED_BFQ=y
>
> On Thu, 26 Dec 2019 23:17:13 +0900 Ryutaroh Matsumoto
> <ryutaroh.matsumoto@nagoya-u.jp> wrote:
> > Source: linux
> > Followup-For: Bug #946791
> > Control: tags -1 + patch
> >
> > Dear Maintainer,
> >
> > I reported that IOWeight config item in systemd has no effect
> > on recent Debian kernels. I found the root cause.
> > io.weight was changed to io.bfq.weight, and recent systemd sets
> > values of IOWeight to io.bfq.weight as
> >
> >
> https://github.com/systemd/systemd/commit/2dbc45aea747f25cc1c3848fded2ec0062f96bcf
> >
> > For io.bfq.weight to appear in cgroup v2 filesystem, the bfq kernel
> > module must be loaded. Addition of "bfq" to /etc/initramfs-
> tools/modules
> > solved this issue. Since the systemd needs bfq module to be loaded,
> > changing CONFIG_IOSCHED_BFQ=m to CONFIG_IOSCHED_BFQ=y in kernel
> config
> > seems suitable.
> >
> > If the Debian kernel team considers this issue to be handled by
> another
> > package, e.g. initramfs-tools or systemd, please reassign this.
> > If this issue is considered not being a bug, please close this.
> >
>
> Fwiw, the fedora kernel in F33 uses
>
> # grep CONFIG_IOSCHED_BFQ /boot/config-5.10.22-200.fc33.x86_64
> CONFIG_IOSCHED_BFQ=y
>
> I think using CONFIG_IOSCHED_BFQ=y instead of loading it via initramfs-
> tools makes more sense (assuming it is safe to enable).
it has passed a substantial amount of time and we did not respond,
apologies about that.
In my opinion we should leave it as module, people wanting to use that
setup can load the module by own means and do additional configuration
selecting the bfq scheduler, and think resepctive units will as well
need to enable the IOAccounting (correct me if I'm wrong)?
Given this reply now, and time permitting we might discuss it in our
next kernel-team weekly meeting.
Regards,
Salvatore
Reply to: