diff options
author | Fam Zheng <famz@redhat.com> | 2015-06-08 13:56:09 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-07-02 10:06:23 +0100 |
commit | dcfb3beb5130694b76b57de109619fcbf9c7e5b5 (patch) | |
tree | af8a045ab17230ead191ffba9886025c6b12a35e /linux-user/i386 | |
parent | 0fc9f8ea2800b76eaea20a8a3a91fbeeb4bfa81b (diff) | |
download | qemu-dcfb3beb5130694b76b57de109619fcbf9c7e5b5.zip qemu-dcfb3beb5130694b76b57de109619fcbf9c7e5b5.tar.gz qemu-dcfb3beb5130694b76b57de109619fcbf9c7e5b5.tar.bz2 |
mirror: Do zero write on target if sectors not allocated
If guest discards a source cluster, mirroring with bdrv_aio_readv is overkill.
Some protocols do zero upon discard, where it's best to use
bdrv_aio_write_zeroes, otherwise, bdrv_aio_discard will be enough.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'linux-user/i386')
0 files changed, 0 insertions, 0 deletions