Skip to content

cgroup2: use new fstype for unified hierarchy#2271

Closed
alban wants to merge 1 commit intosystemd:masterfrom
kinvolk:alban/cgroup2-v2
Closed

cgroup2: use new fstype for unified hierarchy#2271
alban wants to merge 1 commit intosystemd:masterfrom
kinvolk:alban/cgroup2-v2

Conversation

@alban
Copy link
Member

@alban alban commented Jan 5, 2016

Since Linux v4.4-rc1, __DEVEL__sane_behavior does not exist anymore and
is replaced by a new fstype "cgroup2".

With this patch, systemd no longer supports the old (unstable) way of
doing unified hierarchy with __DEVEL__sane_behavior and systemd now
requires Linux v4.4 for unified hierarchy.

Non-unified hierarchy is still the default and is unchanged by this
patch.

torvalds/linux@67e9c74


It was first submitted in kinvolk@d8c6e5f via #2112.

Postpone merge until Sunday 2016-01-10, until Linux 4.4 is released

Since Linux v4.4-rc1, __DEVEL__sane_behavior does not exist anymore and
is replaced by a new fstype "cgroup2".

With this patch, systemd no longer supports the old (unstable) way of
doing unified hierarchy with __DEVEL__sane_behavior and systemd now
requires Linux v4.4 for unified hierarchy.

Non-unified hierarchy is still the default and is unchanged by this
patch.

torvalds/linux@67e9c74
@alban alban added this to the v229 milestone Jan 5, 2016
@alban
Copy link
Member Author

alban commented Jan 5, 2016

/cc @iaguis

@poettering
Copy link
Member

Looks good to merge when the upstream kernel is out, too.

@alban
Copy link
Member Author

alban commented Jan 11, 2016

Linux 4.4 has been released.

@alban
Copy link
Member Author

alban commented Jan 11, 2016

The patch torvalds/linux@67e9c74 does not seem to be in Linux 4.4. Do you know what happened?

@poettering
Copy link
Member

According to Tejun the cgroups2 fstype and the cgroup namespace stuff got bumped to 4.5...

@alban
Copy link
Member Author

alban commented Mar 14, 2016

Linux 4.5 is released yesterday: https://lkml.org/lkml/2016/3/14/50 and it contains the new CGROUP2_SUPER_MAGIC.

@alban alban removed the postponed label Mar 14, 2016
@alban alban added this to the v230 milestone Mar 14, 2016
@evverx
Copy link
Contributor

evverx commented Mar 26, 2016

This was referenced Mar 26, 2016
@keszybz
Copy link
Member

keszybz commented Mar 26, 2016

#2903 has more patches, closing this one.

@keszybz keszybz closed this Mar 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants