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

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] 15+ messages in thread

end of thread, other threads:[~2014-02-28  1:22 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-11  7:07 [Qemu-devel] [PATCH v5 RESEND 0/4] qemu-img: add preallocation=full Hu Tao
2014-02-11  7:07 ` [Qemu-devel] [PATCH v5 RESEND 1/4] qapi: introduce PreallocMode and a new PreallocMode full Hu Tao
2014-02-11  8:56   ` Fam Zheng
2014-02-11 13:20   ` Eric Blake
2014-02-12  1:36     ` Hu Tao
2014-02-11  7:07 ` [Qemu-devel] [PATCH v5 RESEND 2/4] raw, qcow2: don't convert file size to sector size Hu Tao
2014-02-11  8:53   ` Fam Zheng
2014-02-12  1:35     ` Hu Tao
2014-02-11  7:07 ` [Qemu-devel] [PATCH v5 RESEND 3/4] raw-posix: Add full image preallocation option Hu Tao
2014-02-11  9:04   ` Fam Zheng
2014-02-12  1:53     ` Hu Tao
2014-02-11  7:07 ` [Qemu-devel] [PATCH v5 RESEND 4/4] qcow2: " Hu Tao
2014-02-25  5:11   ` Hu Tao
2014-02-27 14:09 ` [Qemu-devel] [PATCH v5 RESEND 0/4] qemu-img: add preallocation=full Stefan Hajnoczi
2014-02-28  1:19   ` 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).