qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 0/4] qemu-img: add preallocation=full
@ 2014-02-11  6:57 Hu Tao
  2014-02-11  6:57 ` [Qemu-devel] [PATCH v5 1/4] qapi: introduce PreallocMode and a new PreallocMode full Hu Tao
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Hu Tao @ 2014-02-11  6:57 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, Fam Zheng, Stefan Hajnoczi, Peter Lieven, Your Name

From: Your Name <you@example.com>

This series implements full image preallocation to create a non-sparse image
file at creation time, both for raw and qcow2 format. The purpose is to avoid
performance deterioration of the guest cause by sparse image.

v5:
  - fix wrong calculation of qcow2 metadata size in v4
  - remove raw_preallocate2()
  - better error out path in raw_create()
  - fix coding style

Hu Tao (4):
  qapi: introduce PreallocMode and a new PreallocMode full.
  raw, qcow2: don't convert file size to sector size
  raw-posix: Add full image preallocation option
  qcow2: Add full image preallocation option

 block/qcow2.c     | 91 ++++++++++++++++++++++++++++++++++++++++++++++++-------
 block/raw-posix.c | 45 +++++++++++++++++++++------
 qapi-schema.json  | 12 ++++++++
 3 files changed, 128 insertions(+), 20 deletions(-)

-- 
1.8.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-11  7:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-11  6:57 [Qemu-devel] [PATCH v5 0/4] qemu-img: add preallocation=full Hu Tao
2014-02-11  6:57 ` [Qemu-devel] [PATCH v5 1/4] qapi: introduce PreallocMode and a new PreallocMode full Hu Tao
2014-02-11  6:57 ` [Qemu-devel] [PATCH v5 2/4] raw, qcow2: don't convert file size to sector size Hu Tao
2014-02-11  7:01   ` Hu Tao
2014-02-11  6:57 ` [Qemu-devel] [PATCH v5 3/4] raw-posix: Add full image preallocation option Hu Tao
2014-02-11  6:57 ` [Qemu-devel] [PATCH v5 4/4] qcow2: " Hu Tao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).