diff options
| author | Kevin Wolf | 2018-06-21 18:23:16 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-06-29 14:20:56 +0200 |
| commit | 93f4e2ff4b31205d8bab0856631a52ed442b8b1c (patch) | |
| tree | f90cae89c305d90c47e734ea947da3d0ddb7a795 /linux-user/linux_loop.h | |
| parent | block: Use tracked request for truncate (diff) | |
| download | qemu-93f4e2ff4b31205d8bab0856631a52ed442b8b1c.tar.gz qemu-93f4e2ff4b31205d8bab0856631a52ed442b8b1c.tar.xz qemu-93f4e2ff4b31205d8bab0856631a52ed442b8b1c.zip | |
file-posix: Make .bdrv_co_truncate asynchronous
This moves the code to resize an image file to the thread pool to avoid
blocking.
Creating large images with preallocation with blockdev-create is now
actually a background job instead of blocking the monitor (and most
other things) until the preallocation has completed.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions
