diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-02-07 13:27:26 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-02-09 16:17:50 +0100 |
commit | 79c053bde9fa40595670ae274d047da07f1df88c (patch) | |
tree | dc859b1ca2cb3345bdc665fca11f9c0cf4b35cf5 /net | |
parent | f08f2ddae078e8a7683f8b16da8e0cc3029c7b89 (diff) |
block: perform zero-detection during copy-on-read
Copy-on-Read populates the image file with data read from a backing
image. In order to avoid bloating the image file when all zeroes are
read we should scan the buffer and perform an optimized zero write
operation.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions