From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] applied: [PATCH qemu 3/3] alloc track: use coroutine version of bdrv_pwrite_zeroes
Date: Tue, 6 Apr 2021 16:41:59 +0200 [thread overview]
Message-ID: <20210406144159.1934669-3-t.lamprecht@proxmox.com> (raw)
In-Reply-To: <20210406144159.1934669-1-t.lamprecht@proxmox.com>
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 | 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
prev parent reply other threads:[~2021-04-06 14:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-06 14:41 [pve-devel] applied: [PATCH qemu 1/3] alloc track: acquire BS AIO context during dropping Thomas Lamprecht
2021-04-06 14:41 ` [pve-devel] applied: [PATCH qemu 2/3] pbs block driver: run read in the AIO context of the bs Thomas Lamprecht
2021-04-06 14:41 ` Thomas Lamprecht [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210406144159.1934669-3-t.lamprecht@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox