Home
last modified time | relevance | path

Searched hist:"93 f4e2ff" (Results 1 – 2 of 2) sorted by relevance

/qemu/include/block/
H A Draw-aio.h93f4e2ff Thu Jun 21 16:23:16 GMT 2018 Kevin Wolf <kwolf@redhat.com> 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>
/qemu/block/
H A Dfile-posix.c93f4e2ff Thu Jun 21 16:23:16 GMT 2018 Kevin Wolf <kwolf@redhat.com> 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>