]> git.proxmox.com Git - mirror_qemu.git/commit
block: introduce preallocate filter
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Wed, 21 Oct 2020 14:58:46 +0000 (17:58 +0300)
committerMax Reitz <mreitz@redhat.com>
Fri, 18 Dec 2020 11:35:55 +0000 (12:35 +0100)
commit33fa2222eb044147e75e5ec395e1fd53328bc9fb
treeab0ecf1c0054e6eefbbcad0d015c2b677e76f0ad
parent9530a25b8b7eb5cc1800b66ee617610cd43f0fad
block: introduce preallocate filter

It's intended to be inserted between format and protocol nodes to
preallocate additional space (expanding protocol file) on writes
crossing EOF. It improves performance for file-systems with slow
allocation.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20201021145859.11201-9-vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
[mreitz: Two comment fixes, and bumped the version from 5.2 to 6.0]
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/meson.build
block/preallocate.c [new file with mode: 0644]
docs/system/qemu-block-drivers.rst.inc
qapi/block-core.json