diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-03-03 00:13:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-03-03 00:13:12 +0100 |
commit | 26166c88e0b47b83972f32b5057ecbffe06bf904 (patch) | |
tree | afff66bbc1b717d9202c16ff1c1b131fa307c272 /src/shared/clock-util.h | |
parent | a68188812290cb9ec9f3f8a17b65e64549a4fd65 (diff) |
importd: automatically grow /var/lib/machines/ loopback filesystem during downloads
If /var/lib/machines is mounted as btrfs loopback file system in
/var/lib/machines.raw with this change we automatically grow the file
system as it fills up. After each 10M we write to it during imports, we
check the free disk space, and if the fill level grows beyond 66% we
increase the size of the file system to 3x the fill level (thus lowering
it to 33%).
Diffstat (limited to 'src/shared/clock-util.h')
0 files changed, 0 insertions, 0 deletions