All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hongyang Yang <yanghy@cn.fujitsu.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: laijs@cn.fujitsu.com, wency@cn.fujitsu.com,
	andrew.cooper3@citrix.com, yunhong.jiang@intel.com,
	eddie.dong@intel.com, xen-devel@lists.xen.org,
	rshriram@cs.ubc.ca, ian.campbell@citrix.com
Subject: Re: [PATCH v18 02/11] libxl: add support for async. function calls when using libxl__ao_device
Date: Wed, 30 Jul 2014 16:45:19 +0800	[thread overview]
Message-ID: <53D8B09F.1090203@cn.fujitsu.com> (raw)
In-Reply-To: <21463.55527.752884.372747@mariner.uk.xensource.com>

On 07/30/2014 01:24 AM, Ian Jackson wrote:
> Yang Hongyang writes ("[PATCH v18 02/11] libxl: add support for async. function calls when using libxl__ao_device"):
>> Extend libxl__ao_device with a libxl__ev_child member, which can be
>> used to asynchronously execute functions that take a long time to complete.
>
> The code change is fine.
>
> I think the commit message and the comment should explain that this
> member is used only for syscalls where only a synchronous version is
> provided.
>
> How about
>
>   Extend libxl__ao_device with a libxl__ev_child member.
>
>   This can be used to fork children to allow the asynchronous execution
>   of system calls which only come in a synchronous variant.  This will
>   be useful for Remus, in the following patches.
>
> instead ?
>
>> +    /* for executing functions asynchronously */
>> +    libxl__ev_child child;
>
> And
>    +    /* for asynchronous execution of synchronous-only syscalls etc. */

It is better, thank you!

>
> Thanks,
> Ian.
> .
>

-- 
Thanks,
Yang.

  reply	other threads:[~2014-07-30  8:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-28  9:23 [PATCH v18 00/11] Remus/Libxl: Remus network buffering and drbd disk Yang Hongyang
2014-07-28  9:23 ` [PATCH v18 01/11] libxl: introduce libxl__multidev_prepare_with_aodev Yang Hongyang
2014-07-29 17:21   ` Ian Jackson
2014-07-28  9:23 ` [PATCH v18 02/11] libxl: add support for async. function calls when using libxl__ao_device Yang Hongyang
2014-07-29 17:24   ` Ian Jackson
2014-07-30  8:45     ` Hongyang Yang [this message]
2014-07-28  9:23 ` [PATCH v18 03/11] autoconf: add libnl3 dependency for Remus network buffering support Yang Hongyang
2014-07-28  9:23 ` [PATCH v18 04/11] libxl/remus: introduce an abstract Remus device layer Yang Hongyang
2014-08-07 18:30   ` Ian Jackson
2014-08-27  1:46     ` Hongyang Yang
2014-08-27  2:21       ` Ian Jackson
2014-08-27  2:27         ` Hongyang Yang
2014-07-28  9:23 ` [PATCH v18 05/11] libxl/remus: setup and control network output buffering Yang Hongyang
2014-07-28  9:24 ` [PATCH v18 06/11] libxl/remus: setup and control disk replication for DRBD backends Yang Hongyang
2014-07-28  9:24 ` [PATCH v18 07/11] xl/remus: cmdline switch to explicitly enable unsafe configurations Yang Hongyang
2014-07-28  9:24 ` [PATCH v18 08/11] xl/remus: cmdline switches and config vars to control network buffering Yang Hongyang
2014-07-28  9:24 ` [PATCH v18 09/11] xl/remus: add a cmdline switch to disable disk replication Yang Hongyang
2014-07-28  9:24 ` [PATCH v18 10/11] libxl/remus: add LIBXL_HAVE_REMUS to indicate Remus support in libxl Yang Hongyang
2014-07-28  9:24 ` [PATCH v18 11/11] MAINTAINERS: update maintained files of Remus Yang Hongyang
2014-08-07  1:17 ` [PATCH v18 00/11] Remus/Libxl: Remus network buffering and drbd disk Hongyang Yang

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=53D8B09F.1090203@cn.fujitsu.com \
    --to=yanghy@cn.fujitsu.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=eddie.dong@intel.com \
    --cc=ian.campbell@citrix.com \
    --cc=laijs@cn.fujitsu.com \
    --cc=rshriram@cs.ubc.ca \
    --cc=wency@cn.fujitsu.com \
    --cc=xen-devel@lists.xen.org \
    --cc=yunhong.jiang@intel.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 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.