chiark / gitweb /
machined: if /var/lib/machines is backed by a loop file, resize it on "machinectl...
authorLennart Poettering <lennart@poettering.net>
Wed, 25 Feb 2015 23:40:43 +0000 (00:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 25 Feb 2015 23:43:16 +0000 (00:43 +0100)
commitefe0286285a7432f738fafae840fa4eda51c2986
tree8e1871cedf8f4f23bace08ae42b1d4a901a706f1
parent3a4efbff2e729194d286f483bd8e122c52ff1129
machined: if /var/lib/machines is backed by a loop file, resize it on "machinectl set-limit"

When the pool size limit is altered with "machinectl set-limit", then
not only set the subvolume quota of the /var/lib/machine subvolume, but
also resize the backing loop file and the btrfs file system on it
dynamically.
src/machine/machined-dbus.c
src/shared/btrfs-util.c
src/shared/btrfs-util.h