summary refs log tree commit diff
path: root/x86_64
diff options
context:
space:
mode:
authorDaniel Verkamp <dverkamp@chromium.org>2020-01-15 12:53:43 -0800
committerCommit Bot <commit-bot@chromium.org>2020-01-24 20:22:47 +0000
commit977f873a4140c29f838712e6f37137df4f0cd840 (patch)
treef194b4f166c1995f5ef7e482e36a51c5a5db96c3 /x86_64
parente43d300aef5fa4cc6eaf8539580acce1e2990a98 (diff)
downloadcrosvm-977f873a4140c29f838712e6f37137df4f0cd840.tar
crosvm-977f873a4140c29f838712e6f37137df4f0cd840.tar.gz
crosvm-977f873a4140c29f838712e6f37137df4f0cd840.tar.bz2
crosvm-977f873a4140c29f838712e6f37137df4f0cd840.tar.lz
crosvm-977f873a4140c29f838712e6f37137df4f0cd840.tar.xz
crosvm-977f873a4140c29f838712e6f37137df4f0cd840.tar.zst
crosvm-977f873a4140c29f838712e6f37137df4f0cd840.zip
sys_util: add FileAllocate trait
This trait provides a generic interface for allocating space on the
filesystem within a given file.  It is equivalent to the fallocate(2)
system call with the default mode (mode = 0).

BUG=chromium:858815
TEST=cargo build --features=composite-disk

Change-Id: I2f4e8aceb4878790e8dec2e3d539071915efd205
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2015828
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Diffstat (limited to 'x86_64')
0 files changed, 0 insertions, 0 deletions