qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Bharata B Rao <bharata@linux.vnet.ibm.com>
Cc: kwolf@redhat.com, pbonzini@redhat.com, jcody@redhat.com,
	qemu-devel@nongnu.org, stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 0/3] gluster: conversion to coroutines and supporting write_zeroes
Date: Mon, 6 Jan 2014 10:11:13 +0800	[thread overview]
Message-ID: <20140106021113.GA9790@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1387617686-1229-1-git-send-email-bharata@linux.vnet.ibm.com>

On Sat, Dec 21, 2013 at 02:51:23PM +0530, Bharata B Rao wrote:
> 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 v2
> -------------
> - Don't use QEMU's AIO infrastructure (BlockDriverAIOCB, qemu_aio_get/release)
>   at all, instead manage the request structure completely within gluster driver.
> - Minor code cleanups.
> 
> 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 | 318 +++++++++++++++++++++++++++++---------------------------
>  configure       |   8 ++
>  2 files changed, 175 insertions(+), 151 deletions(-)

Thanks, applied to my block-next tree:
https://github.com/stefanha/qemu/commits/block-next

Stefan

      parent reply	other threads:[~2014-01-06  2:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-21  9:21 [Qemu-devel] [PATCH v2 0/3] gluster: conversion to coroutines and supporting write_zeroes Bharata B Rao
2013-12-21  9:21 ` [Qemu-devel] [PATCH 1/3] gluster: Convert aio routines into coroutines Bharata B Rao
2013-12-21  9:21 ` [Qemu-devel] [PATCH 2/3] gluster: Implement .bdrv_co_write_zeroes for gluster Bharata B Rao
2013-12-21  9:21 ` [Qemu-devel] [PATCH 3/3] gluster: Add support for creating zero-filled image Bharata B Rao
2014-01-06  2:11 ` Stefan Hajnoczi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140106021113.GA9790@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=bharata@linux.vnet.ibm.com \
    --cc=jcody@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).