]> git.proxmox.com Git - mirror_qemu.git/commit
quorum: Implement .bdrv_co_preadv/pwritev()
authorKevin Wolf <kwolf@redhat.com>
Thu, 10 Nov 2016 16:22:07 +0000 (17:22 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 9 Jan 2017 12:30:52 +0000 (13:30 +0100)
commit6847da380805c46e21162dac3e4b4123399769d0
treebff889b549460074bc9386c6c513a27458cc1f17
parentdee66e2882e5b1fdf6184da7555e891b9057c944
quorum: Implement .bdrv_co_preadv/pwritev()

This enables byte granularity requests on quorum nodes.

Note that the QMP events emitted by the driver are an external API that
we were careless enough to define as sector based. The offset and length
of requests reported in events are rounded therefore.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
block/quorum.c