Re: [Xen-devel] [PATCH 20/35] libxl: ao abort: Provide public ao abort request API

2015-06-26 Thread Wei Liu
On Fri, Jun 26, 2015 at 04:13:59PM +0100, Wei Liu wrote: > On Fri, Jun 26, 2015 at 04:05:07PM +0100, Ian Jackson wrote: > > Wei Liu writes ("Re: [PATCH 20/35] libxl: ao abort: Provide public ao abort > > request API"): > > > On Thu, Jun 25, 2015 at 06:44:20PM +0100, Ian Jackson wrote: > > > [...]

Re: [Xen-devel] [PATCH 20/35] libxl: ao abort: Provide public ao abort request API

2015-06-26 Thread Wei Liu
On Fri, Jun 26, 2015 at 04:05:07PM +0100, Ian Jackson wrote: > Wei Liu writes ("Re: [PATCH 20/35] libxl: ao abort: Provide public ao abort > request API"): > > On Thu, Jun 25, 2015 at 06:44:20PM +0100, Ian Jackson wrote: > > [...] > > > + * It is possible to abort even an operation which is being

Re: [Xen-devel] [PATCH 20/35] libxl: ao abort: Provide public ao abort request API

2015-06-26 Thread Ian Jackson
Wei Liu writes ("Re: [PATCH 20/35] libxl: ao abort: Provide public ao abort request API"): > On Thu, Jun 25, 2015 at 06:44:20PM +0100, Ian Jackson wrote: > [...] > > + * It is possible to abort even an operation which is being performed > > + * synchronously, but since in that case how==NULL you h

Re: [Xen-devel] [PATCH 20/35] libxl: ao abort: Provide public ao abort request API

2015-06-26 Thread Wei Liu
On Thu, Jun 25, 2015 at 06:44:20PM +0100, Ian Jackson wrote: [...] > + * It is possible to abort even an operation which is being performed > + * synchronously, but since in that case how==NULL you had better only > + * have one such operation, because it is not possible to tell them > + * apart.

[Xen-devel] [PATCH 20/35] libxl: ao abort: Provide public ao abort request API

2015-06-25 Thread Ian Jackson
Provide libxl_ao_abort. There is machinery to allow an ao to register an interest in abort requests, using a libxl__ao_abortable. This API is not currently very functional: requesting abort will never have any effect. Signed-off-by: Ian Jackson --- v4: Rename from cancel to abort. Actually