OSDN Git Service

quorum: Implement bdrv_co_pwrite_zeroes()
authorAlberto Garcia <berto@igalia.com>
Fri, 13 Nov 2020 16:52:32 +0000 (17:52 +0100)
committerMax Reitz <mreitz@redhat.com>
Fri, 18 Dec 2020 11:35:55 +0000 (12:35 +0100)
commit5cddb2e95f8d9e9ee535964df4136b562ce268e1
tree8eb74812c9f1011576d67cd5229dedc8c704c62e
parentef9bba1484bb8fb5fda53a7bf90bf5e1a8e6a9f6
quorum: Implement bdrv_co_pwrite_zeroes()

This simply calls bdrv_co_pwrite_zeroes() in all children.

bs->supported_zero_flags is also set to the flags that are supported
by all children.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Message-Id: <2f09c842781fe336b4c2e40036bba577b7430190.1605286097.git.berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/quorum.c
tests/qemu-iotests/312
tests/qemu-iotests/312.out