[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v18 02/11] libxl: add support for async. function calls when using libxl__ao_device



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. */

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.