From: Wei Liu Subject: Re: [PATCH 20/35] libxl: ao abort: Provide public ao abort request API Date: Fri, 26 Jun 2015 16:30:16 +0100 Message-ID: <20150626153016.GN6265@zion.uk.xensource.com> References: <1435254275-8184-1-git-send-email-ian.jackson@eu.citrix.com> <1435254275-8184-21-git-send-email-ian.jackson@eu.citrix.com> <20150626144742.GG6265@zion.uk.xensource.com> <21901.27171.740002.488769@mariner.uk.xensource.com> <20150626151359.GM6265@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20150626151359.GM6265@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: Euan Harris , xen-devel@lists.xensource.com, Wei Liu , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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: > > > [...] > > > > + * 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. (And, if you want to do this, obviously the abort would > > > > + * have to be requested on a different thread.) > > > > + */ > > ...> > > > I interpreted the doc more like "it aborts all sync operations". > > > > > > This function only aborts the first synchronous operation it finds. > > > The doc didn't make this clear. > > > > I will change it as follows: > > > > ... you had better only have one such operation, because it is > > not possible to tell them apart > > + (and libxl_ao_abort will abort only the first one it finds) > > > > LGTM > And I should make it clearer: Acked-by: Wei Liu > > Thanks, > > Ian.