qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH v4 0/4] qemu-img: add preallocation=full
@ 2013-12-27  3:05 Hu Tao
  2013-12-27  3:05 ` [Qemu-devel] [RFC PATCH v4 1/4] qapi: introduce PreallocMode Hu Tao
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Hu Tao @ 2013-12-27  3:05 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Fam Zheng, Peter Lieven, Stefan Hajnoczi

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.

v4:  - remove bdrv_preallocate and make preallocation a bdrv_create_file option
     - prealloc_mode -> PreallocMode and add it to QAPI
     - fix return value in raw_preallocate2

Hu Tao (4):
  qapi: introduce PreallocMode
  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     | 64 +++++++++++++++++++++++++++++++++++++++++++++----------
 block/raw-posix.c | 50 +++++++++++++++++++++++++++++++++++++++++--
 qapi-schema.json  | 12 +++++++++++
 3 files changed, 113 insertions(+), 13 deletions(-)

-- 
1.7.11.7

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

end of thread, other threads:[~2014-02-07  2:25 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-27  3:05 [Qemu-devel] [RFC PATCH v4 0/4] qemu-img: add preallocation=full Hu Tao
2013-12-27  3:05 ` [Qemu-devel] [RFC PATCH v4 1/4] qapi: introduce PreallocMode Hu Tao
2013-12-27  3:05 ` [Qemu-devel] [RFC PATCH v4 2/4] raw, qcow2: don't convert file size to sector size Hu Tao
2013-12-27  3:05 ` [Qemu-devel] [RFC PATCH v4 3/4] raw-posix: Add full image preallocation option Hu Tao
2014-01-17  8:25   ` Stefan Hajnoczi
2014-01-20  2:19     ` Hu Tao
2014-01-17  8:56   ` Stefan Hajnoczi
2014-01-20  2:27     ` Hu Tao
2013-12-27  3:05 ` [Qemu-devel] [RFC PATCH v4 4/4] qcow2: " Hu Tao
2014-01-17  8:48   ` Stefan Hajnoczi
2014-01-20  2:16     ` Hu Tao
2014-02-07  2:22       ` Hu Tao
2014-01-06  7:27 ` [Qemu-devel] [RFC PATCH v4 0/4] qemu-img: add preallocation=full Hu Tao
2014-01-13 10:26   ` Hu Tao
2014-01-17  9:05 ` Stefan Hajnoczi

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).