diff options
author | Alberto Faria | 2022-06-09 17:27:44 +0200 |
---|---|---|
committer | Hanna Reitz | 2022-07-12 12:14:56 +0200 |
commit | 86da43220c610321f31fad4be7f1b52554f4e7a4 (patch) | |
tree | d8cb13e0e8c3f2f6d0bc06db1a25535e6cd31792 /qemu-io-cmds.c | |
parent | block: Use bdrv_co_pwrite_sync() when caller is coroutine_fn (diff) | |
download | qemu-86da43220c610321f31fad4be7f1b52554f4e7a4.tar.gz qemu-86da43220c610321f31fad4be7f1b52554f4e7a4.tar.xz qemu-86da43220c610321f31fad4be7f1b52554f4e7a4.zip |
block/qcow2: Use bdrv_pwrite_sync() in qcow2_mark_dirty()
Use bdrv_pwrite_sync() instead of calling bdrv_pwrite() and bdrv_flush()
separately.
Signed-off-by: Alberto Faria <afaria@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20220609152744.3891847-11-afaria@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions