From: Ian Jackson Subject: Re: [PATCH 20/35] libxl: ao abort: Provide public ao abort request API Date: Fri, 26 Jun 2015 16:05:07 +0100 Message-ID: <21901.27171.740002.488769@mariner.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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150626144742.GG6265@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: Wei Liu Cc: xen-devel@lists.xensource.com, Euan Harris , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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) Thanks, Ian.