aboutsummaryrefslogtreecommitdiff
path: root/nbd.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2013-05-02 10:25:27 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2013-05-03 10:33:49 +0200
commitcdeaf1f15909e2e8af38f45aea7cfa467a729c52 (patch)
treea37e5675df82af0e4e314432606537d9c96ff442 /nbd.c
parente304e8e5a05bc54c71c5f6fc76abd47410e59857 (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