]> git.proxmox.com Git - pve-qemu.git/commitdiff
alloc track: use coroutine version of bdrv_pwrite_zeroes
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 6 Apr 2021 14:26:25 +0000 (16:26 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 6 Apr 2021 14:31:53 +0000 (16:31 +0200)
as we're in a coroutine here too

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/patches/pve/0047-block-add-alloc-track-driver.patch

index 8eed42fc86687f27738101ab378732836a349758..b8159f79da86c4a002abb5d5a9ce1cdf637f530d 100644 (file)
@@ -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,