]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: Sync BlkioDevice values when setting them in cgroups
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 3 Aug 2015 13:56:08 +0000 (15:56 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 18 Aug 2015 23:27:43 +0000 (16:27 -0700)
commit4563c59b5b40f40f90c0579f5e2fcdd29c414265
treee8516433c4d585bf4c4771f089353710ca0cabd3
parent89c509a0c1857883d0627919e21f7600648ab81c
lxc: Sync BlkioDevice values when setting them in cgroups

The problem here is that there are some values that kernel accepts, but
does not set them, for example 18446744073709551615 which acts the same
way as zero.  Let's do the same thing we do with other tuning options
and re-read them right after they are set in order to keep our internal
structures up-to-date.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/lxc/lxc_cgroup.c
src/lxc/lxc_driver.c