diff options
author | Fam Zheng <famz@redhat.com> | 2013-05-02 10:25:27 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-05-03 10:33:49 +0200 |
commit | cdeaf1f15909e2e8af38f45aea7cfa467a729c52 (patch) | |
tree | a37e5675df82af0e4e314432606537d9c96ff442 /nbd.c | |
parent | e304e8e5a05bc54c71c5f6fc76abd47410e59857 (diff) |
vmdk: add bdrv_co_write_zeroes
Use special offset to write zeroes efficiently, when zeroed-grain GTE is
available. If zero-write an allocated cluster, cluster is leaked because
its offset pointer is overwritten by "0x1".
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'nbd.c')
0 files changed, 0 insertions, 0 deletions