OSDN Git Service

block: Add bdrv_co_pwrite_sync()
authorAlberto Faria <afaria@redhat.com>
Thu, 9 Jun 2022 15:27:42 +0000 (16:27 +0100)
committerHanna Reitz <hreitz@redhat.com>
Tue, 12 Jul 2022 10:14:56 +0000 (12:14 +0200)
commite97190a4057d42dce0322a23e6347101225ee39e
tree9ce62621e76012b94e6b471ba6ed74e09a00781a
parent1d39c7098bbfa6862cb96066c4f8f6735ea397c5
block: Add bdrv_co_pwrite_sync()

Also convert bdrv_pwrite_sync() to being implemented using
generated_co_wrapper.

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-9-afaria@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
block/io.c
include/block/block-io.h