diff options
| author | Max Reitz | 2014-10-24 15:57:30 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-11-03 12:41:47 +0100 |
| commit | 808c4b6f30d77295292cef8ee38c462957a6b9ca (patch) | |
| tree | 33cf36fdaca45cfee3affc1fe999085ccf6bf44e /include | |
| parent | iotests: Add test for external image truncation (diff) | |
| download | qemu-808c4b6f30d77295292cef8ee38c462957a6b9ca.tar.gz qemu-808c4b6f30d77295292cef8ee38c462957a6b9ca.tar.xz qemu-808c4b6f30d77295292cef8ee38c462957a6b9ca.zip | |
qcow2: Allow "full" discard
Normally, discarded sectors should read back as zero. However, there are
cases in which a sector (or rather cluster) should be discarded as if
they were never written in the first place, that is, reading them should
fall through to the backing file again.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-id: 1414159063-25977-2-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
