]> git.ipfire.org Git - thirdparty/systemd.git/commit - TODO
import: drop logic of setting up /var/lib/machines as btrfs loopback mount
authorLennart Poettering <lennart@poettering.net>
Thu, 11 Oct 2018 08:27:59 +0000 (10:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 26 Nov 2018 17:09:01 +0000 (18:09 +0100)
commit5f7ecd610c7918bb89468ce068bfcf68114dc53e
tree84ede3c89ef2b3f28e04bf353b9debf6a1f6f016
parente21b7229ff776891443fe3200ebf4648f3f2940b
import: drop logic of setting up /var/lib/machines as btrfs loopback mount

Let's simplify things and drop the logic that /var/lib/machines is setup
as auto-growing btrfs loopback file /var/lib/machines.raw.

THis was done in order to make quota available for machine management,
but quite frankly never really worked properly, as we couldn't grow the
file system in sync with its use properly. Moreover philosophically it's
problematic overriding the admin's choice of file system like this.

Let's hence drop this, and simplify things. Deleting code is a good
feeling.

Now that regular file systems provide project quota we could probably
add per-machine quota support based on that, hence the btrfs quota
argument is not that interesting anymore (though btrfs quota is a bit
more powerful as it allows recursive quota, i.e. that the machine pool
gets an overall quota in addition to per-machine quota).
15 files changed:
TODO
man/machinectl.xml
src/basic/btrfs-util.c
src/basic/btrfs-util.h
src/import/import-raw.c
src/import/import-tar.c
src/import/importd.c
src/import/pull-job.c
src/import/pull-job.h
src/import/pull-raw.c
src/import/pull-tar.c
src/machine/machined-dbus.c
src/shared/machine-pool.c
src/shared/machine-pool.h
units/var-lib-machines.mount