diff options
author | Kevin Wolf <kwolf@redhat.com> | 2019-03-22 13:38:43 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-03-26 11:37:51 +0100 |
commit | fe0480d6294270ff0d6fb60e66bb725a6aad2043 (patch) | |
tree | 86c0e0d0d3582b8cce53b18b0b3ecc7f942bf84b /memory_mapping.c | |
parent | 48ce986096bb70354b12f0becb253a06bcf9c434 (diff) |
block: Add BDRV_REQ_NO_FALLBACK
For qemu-img convert, we want an operation that zeroes out the whole
image if this can be done efficiently, but that returns an error
otherwise so we don't write explicit zeroes and immediately overwrite
them with the real data, potentially doubling the amount of data to be
written.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'memory_mapping.c')
0 files changed, 0 insertions, 0 deletions