diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-08-14 13:23:38 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-08-21 15:00:29 +0000 |
| commit | 6b4158254bde639c89214e6f8f9db7f09e1d96c0 (patch) | |
| tree | d0644085e338ff283dbab07ceef64a4a35baa1a1 /executor/executor_linux.h | |
| parent | 555e59807c71aca8ec710e79c40a008052df5619 (diff) | |
pkg/host: require fallocate for swap
Test the filesystem for the fallocate support. It's cheaper than having
to manually zero-write the whole swap file, which can be quite slow on
emulated VMs.
As testing /tmp does not make much sense (it can be a totally different
filesystem), create a temp file directy in the user home directory.
Diffstat (limited to 'executor/executor_linux.h')
0 files changed, 0 insertions, 0 deletions
