Bharata B Rao cf7f616b9d gluster: Add support for creating zero-filled image
GlusterFS supports creation of zero-filled file on GlusterFS volume
by means of an API called glfs_zerofill(). Use this API from QEMU to
create an image that is filled with zeroes by using the preallocation
option of qemu-img.

qemu-img create gluster://server/volume/image -o preallocation=full 10G

The allowed values for preallocation are 'full' and 'off'. By default
preallocation is off and image is not zero-filled.

glfs_zerofill() offloads the writing of zeroes to the server and if
the storage supports SCSI WRITESAME, GlusterFS server can issue
BLKZEROOUT ioctl to achieve the zeroing.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-01-22 12:07:16 +01:00
2013-04-18 13:50:53 +02:00
2013-07-09 13:38:56 -05:00
2013-12-06 08:55:42 +01:00
2013-08-07 12:48:00 -05:00
2013-11-25 20:35:28 -08:00
2014-01-06 15:02:30 -05:00
2013-12-06 08:55:42 +01:00
2013-12-21 16:41:56 +01:00
2013-05-03 13:58:09 +02:00
2014-01-12 22:27:10 +00:00
2012-09-07 09:02:44 +03:00
2013-12-02 21:02:57 +04:00
2013-10-11 09:34:56 -07:00
2013-09-05 09:40:31 -05:00
2014-01-08 19:07:20 +00:00
2013-10-11 10:52:54 +02:00
2013-10-11 09:34:56 -07:00
2008-10-12 17:54:42 +00:00
2014-01-10 11:04:31 -08:00
2013-11-04 15:39:41 +02:00
2013-07-23 02:41:31 +02:00
2013-02-21 16:17:31 -06:00
2013-08-12 09:15:12 -05:00
2013-09-03 12:25:55 +02:00
2013-05-18 16:35:12 +04:00
2013-12-04 15:19:00 +01:00
2013-12-04 15:19:00 +01:00
2013-07-19 12:52:03 +04:00
2013-10-11 09:34:56 -07:00
2013-09-25 21:23:05 +02:00
2013-11-27 14:02:45 -08:00
2013-10-11 09:34:56 -07:00
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
A fork of QEMU-Nyx which is better suited for my bachelors thesis
Readme 154 MiB