diff options
author | Daniel Verkamp <dverkamp@chromium.org> | 2020-01-15 12:53:43 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-01-24 20:22:47 +0000 |
commit | 977f873a4140c29f838712e6f37137df4f0cd840 (patch) | |
tree | f194b4f166c1995f5ef7e482e36a51c5a5db96c3 /tests/plugins.rs | |
parent | e43d300aef5fa4cc6eaf8539580acce1e2990a98 (diff) | |
download | crosvm-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 'tests/plugins.rs')
0 files changed, 0 insertions, 0 deletions