commit | dbaaff0198dec8ece7faeb0fdfaf414317613b5d | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | Fri Oct 15 07:56:35 2010 -0700 |
committer | Christoph Hellwig <hch@lst.de> | Fri Oct 15 07:56:35 2010 -0700 |
tree | 1ca2d04df326991019c1117b58aafb4b8f67e12a | |
parent | cddd362f5a9d03b6be7ef61c6556c125389fea96 [diff] |
add read/write from smaller backing image test Some image formats support backing images that are smaller than the image file. This patch adds a test that verifies that reads and writes beyond the end of backing image work. Unallocated reads beyond the end of the backing file should produce zeroes. Writes beyond the end of the backing file should copy-on-write using zeroes. Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Christoph Hellwig <hch@lst.de>