[pve-devel] applied: [PATCH qemu 3/3] alloc track: use coroutine version of bdrv_pwrite_zeroes

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Apr 6 16:41:59 CEST 2021


as we're in a coroutine here too

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 debian/patches/pve/0047-block-add-alloc-track-driver.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/pve/0047-block-add-alloc-track-driver.patch b/debian/patches/pve/0047-block-add-alloc-track-driver.patch
index 8eed42f..b8159f7 100644
--- a/debian/patches/pve/0047-block-add-alloc-track-driver.patch
+++ b/debian/patches/pve/0047-block-add-alloc-track-driver.patch
@@ -226,7 +226,7 @@ index 0000000000..b579380279
 +static int coroutine_fn track_co_pwrite_zeroes(BlockDriverState *bs,
 +    int64_t offset, int count, BdrvRequestFlags flags)
 +{
-+    return bdrv_pwrite_zeroes(bs->file, offset, count, flags);
++    return bdrv_co_pwrite_zeroes(bs->file, offset, count, flags);
 +}
 +
 +static int coroutine_fn track_co_pdiscard(BlockDriverState *bs,
-- 
2.29.2






More information about the pve-devel mailing list