Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #86567

Bug#946791: io.weight cannot be enabled in recent Debian kernel package

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#946791: io.weight cannot be enabled in recent Debian kernel package
Date Sun, 23 Mar 2025 09:00:01 +0100
Message-ID <Ktopr-84LM-1@gated-at.bofh.it> (permalink)
References <zhCjf-3GG-7@gated-at.bofh.it> <zejPP-195-9@gated-at.bofh.it> <BTFbI-11T-3@gated-at.bofh.it> <zejPP-195-9@gated-at.bofh.it> <BTFbI-11T-3@gated-at.bofh.it>
X-Original-To Michael Biebl <biebl@debian.org>, 946791@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sun Mar 23 07:51:08 2025
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.999
Reply-To Salvatore Bonaccorso <carnil@debian.org>, 946791@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Kernel Team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 946791
X-Debian-Pr-Package linux
X-Debian-Pr-Keywords patch
X-Debian-Pr-Source linux
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Debian-User carnil
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1894709
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 56
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Ryutaroh Matsumoto <ryutaroh.matsumoto@nagoya-u.jp>
X-Original-Date Sun, 23 Mar 2025 08:46:28 +0100
X-Original-Message-ID <Z9-8VPvEgTCwzoI2@eldamar.lan>
X-Original-References <157736983312.1779.6054472972362644562.reportbug@oldlaptop> <157644772963.2088.10503148188719556965.reportbug@oldlaptop> <aa662cbd30707b8658ee123fd6289b2a52d5ab1d.camel@debian.org> <157644772963.2088.10503148188719556965.reportbug@oldlaptop> <aa662cbd30707b8658ee123fd6289b2a52d5ab1d.camel@debian.org>
Xref csiph.com linux.debian.bugs.dist:1238810 linux.debian.kernel:86567

Cross-posted to 2 groups.

Show key headers only | View raw


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

Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#946791: io.weight cannot be enabled in recent Debian kernel package Salvatore Bonaccorso <carnil@debian.org> - 2025-03-23 09:00 +0100
  Bug#946791: io.weight cannot be enabled in recent Debian kernel package Ben Hutchings <ben@decadent.org.uk> - 2025-04-23 04:00 +0200

csiph-web