Bug#596772: OpenVZ ioprio must be configured via kernel config for 2.6.32
I have stated it in the bug at openvz.org already [1]: this is not a
OpenVZ bug, but a packaging issue:
Apparently this feature requires CONFIG_BLK_CGROUP, which is not
available with stock 2.6.32 (only available from 2.6.33 according to
http://cateee.net/lkddb/web-lkddb/BLK_CGROUP.html).
However, the OpenVZ patch contains this config, but it does not get
enabled via the Debian build config.
This patch should fix it. I have done a rebuild using it, and do not get
an error for "vzctl set $VZ --ioprio" anymore.
# svn diff debian/config/featureset-openvz/config
Index: debian/config/featureset-openvz/config
===================================================================
--- debian/config/featureset-openvz/config (Revision 16444)
+++ debian/config/featureset-openvz/config (Arbeitskopie)
@@ -33,3 +33,6 @@
# beancounter breakage
# CONFIG_KSM is not set
+
+CONFIG_BLK_CGROUP=y
+CONFIG_CFQ_GROUP_IOSCHED=y
1: http://bugzilla.openvz.org/show_bug.cgi?id=1649#c1
Reply to: