qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH v1 0/3] gluster: conversion to coroutines and supporting write_zeroes
@ 2013-12-05 11:01 Bharata B Rao
  2013-12-05 11:01 ` [Qemu-devel] [RFC PATCH v1 1/3] gluster: Convert aio routines into coroutines Bharata B Rao
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Bharata B Rao @ 2013-12-05 11:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, jcody, stefanha, Bharata B Rao

Hi,

This series is about converting all the bdrv_aio* implementations in gluster
driver to coroutine based implementations. Read, write, flush and discard
routines are converted.

This also adds support for .bdrv_co_write_zeroes() in gluster and provides
a new preallocation option with qemu-img (-o preallocation=full) that can
be used for raw images on GlusterFS backend to create fully allocated and
zero-filled images.

Changes in v1
-------------
- Removed qemu_gluster_aio_cancel() and associated code.
- Calling qemu_aio_release() from where aiocb is created.
- s/qemu_gluster_aio_rw/qemu_gluster_co_rw.
- Use errno appropriately from read, write, flush, discard and zerofill routines
  in gluster driver.
- Fix a memory leak in qemu_gluster_create().
- Proceed with glfs_zerofill() only if glfs_ftruncate() succeeds in
  qemu_gluster_create().

Bharata B Rao (3):
  gluster: Convert aio routines into coroutines
  gluster: Implement .bdrv_co_write_zeroes for gluster
  gluster: Add support for creating zero-filled image

 block/gluster.c | 297 +++++++++++++++++++++++++++++++-------------------------
 configure       |   8 ++
 2 files changed, 174 insertions(+), 131 deletions(-)

-- 
1.7.11.7

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

end of thread, other threads:[~2013-12-16 16:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-05 11:01 [Qemu-devel] [RFC PATCH v1 0/3] gluster: conversion to coroutines and supporting write_zeroes Bharata B Rao
2013-12-05 11:01 ` [Qemu-devel] [RFC PATCH v1 1/3] gluster: Convert aio routines into coroutines Bharata B Rao
2013-12-16 16:33   ` Stefan Hajnoczi
2013-12-05 11:01 ` [Qemu-devel] [RFC PATCH v1 2/3] gluster: Implement .bdrv_co_write_zeroes for gluster Bharata B Rao
2013-12-05 11:01 ` [Qemu-devel] [RFC PATCH v1 3/3] gluster: Add support for creating zero-filled image Bharata B Rao
2013-12-16 16:39   ` 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).