Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1069007
| From | Santiago Ruano Rincón <santiago.ruano-rincon@imt-atlantique.fr> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#993311: Support for cgroup v2 via cgroup-tools |
| Date | 2021-08-30 17:30 +0200 |
| Message-ID | <CRRot-7wR-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Source: cinder Version: 2:18.0.0-2 Severity: important Tags: upstream Hello Zigo, As discussed privately, cinder needs to support cgroup v2. Now that that a version of cgroup-tools supporing cgroup v2 (2.0) has landed into unstable, cinder can still use it, but it needs to adapt the controllers path, since some resources are not longer available. It means that instead of using blkio, as in https://sources.debian.org/src/cinder/2:18.0.0-2/cinder/privsep/cgroup.py/#L28 cinder has to use the io controller (If I am not wrong). You can refer to the kernel documentation about cgroups v2: https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#io Cinder would have to call `cgset` and `cgcreate` with paths according to the cgroup version supported by the running system. To know if cgroup v2 is supported, one way is to `grep cgroup2 /proc/mounts` HTH, -- Santiago -- System Information: Debian Release: bookworm/sid APT prefers oldoldstable APT policy: (500, 'oldoldstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads) Locale: LANG=es_CO.UTF-8, LC_CTYPE=es_CO.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#993311: Support for cgroup v2 via cgroup-tools Santiago Ruano Rincón <santiago.ruano-rincon@imt-atlantique.fr> - 2021-08-30 17:30 +0200
Bug#993311: Support for cgroup v2 via cgroup-tools Thomas Goirand <thomas@goirand.fr> - 2021-08-31 14:50 +0200
Bug#993311: Support for cgroup v2 via cgroup-tools Santiago Ruano Rincón <santiago.ruano-rincon@imt-atlantique.fr> - 2021-08-31 15:50 +0200
Bug#993311: Support for cgroup v2 via cgroup-tools Thomas Goirand <zigo@debian.org> - 2021-09-01 17:30 +0200
csiph-web