summaryrefslogtreecommitdiffstats
path: root/src/import/pull-job.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-10-11 10:27:59 +0200
committerLennart Poettering <lennart@poettering.net>2018-11-26 18:09:01 +0100
commit5f7ecd610c7918bb89468ce068bfcf68114dc53e (patch)
tree84ede3c89ef2b3f28e04bf353b9debf6a1f6f016 /src/import/pull-job.h
parentimport: rerrange tarball/fs imports that have a single top-level directory co... (diff)
downloadsystemd-5f7ecd610c7918bb89468ce068bfcf68114dc53e.tar.xz
systemd-5f7ecd610c7918bb89468ce068bfcf68114dc53e.zip
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).
Diffstat (limited to 'src/import/pull-job.h')
-rw-r--r--src/import/pull-job.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/import/pull-job.h b/src/import/pull-job.h
index 0c104af758..c907e74060 100644
--- a/src/import/pull-job.h
+++ b/src/import/pull-job.h
@@ -80,9 +80,6 @@ struct PullJob {
char *checksum;
- bool grow_machine_directory;
- uint64_t written_since_last_grow;
-
VerificationStyle style;
};