All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v7 for 2.0 0/4] qemu-img: add preallocation=full
@ 2014-03-17  6:53 Hu Tao
  2014-03-17  6:53 ` [Qemu-devel] [PATCH v7 for 2.0 1/4] qapi: introduce PreallocMode and a new PreallocMode full Hu Tao
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Hu Tao @ 2014-03-17  6:53 UTC (permalink / raw)
  To: qemu-devel; +Cc: 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.

v7:
  - fix qemu-iotests fail case 082.


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 ++++++++++++++++++-----
 block/raw-win32.c          |  4 +-
 qapi-schema.json           | 14 +++++++
 tests/qemu-iotests/082.out | 54 +++++++++++++--------------
 5 files changed, 159 insertions(+), 49 deletions(-)

-- 
1.8.5.2.229.g4448466

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

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

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-17  6:53 [Qemu-devel] [PATCH v7 for 2.0 0/4] qemu-img: add preallocation=full Hu Tao
2014-03-17  6:53 ` [Qemu-devel] [PATCH v7 for 2.0 1/4] qapi: introduce PreallocMode and a new PreallocMode full Hu Tao
2014-03-17 14:58   ` Eric Blake
2014-03-20  2:22     ` Hu Tao
2014-03-17  6:53 ` [Qemu-devel] [PATCH v7 for 2.0 2/4] raw, qcow2: don't convert file size to sector size Hu Tao
2014-03-17  6:53 ` [Qemu-devel] [PATCH v7 for 2.0 3/4] raw-posix: Add full image preallocation option Hu Tao
2014-03-20 13:22   ` Kevin Wolf
2014-03-28  2:33     ` hutao
2014-03-17  6:53 ` [Qemu-devel] [PATCH v7 for 2.0 4/4] qcow2: " Hu Tao
2014-03-20 13:38   ` Kevin Wolf
2014-05-07  2:39     ` Hu Tao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.