From: Euan Harris <euan.harris@citrix.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Dave Scott <Dave.Scott@citrix.com>,
Ian Campbell <Ian.Campbell@citrix.com>,
Xen-devel <xen-devel@lists.xen.org>
Subject: Re: Cancelling asynchronous operations in libxl
Date: Tue, 3 Feb 2015 09:59:06 +0000 [thread overview]
Message-ID: <20150203095906.GC3823@citrix.com> (raw)
In-Reply-To: <21711.46942.324797.598577@mariner.uk.xensource.com>
Hi,
On Mon, Feb 02, 2015 at 05:43:58PM +0000, Ian Jackson wrote:
> Ian Jackson writes ("Re: Cancelling asynchronous operations in libxl"):
> > Euan Harris writes ("Re: Cancelling asynchronous operations in libxl"):
> > > The API you propose for libxl_ao_cancel, as described in the comment in
> > > libxl.h, looks reasonable to us. The comment for ERROR_NOTIMPLEMENTED
> > > is a bit confusing: under what circumstances might a task actually be
> > > cancelled although libxl_ao_cancel returned ERROR_NOTIMPLEMENTED?
> >
> > A single operation may go through phases during which cancellation is
> > effective, and phases during which it is not very effective because it
> > hasn't been properly hooked up. [etc.]
>
> Does that explanation answer your questions ? What did you think of
> my alternative suggestions ?
Sorry, I didn't think you were waiting for a reply. Your explanation
does answer my questions, thanks.
I think that the current proposed behaviour will suit us fine. We will
probably treat the OK and NOTIMPLEMENTED cases in the same way, by using
more drastic means to stop the activity if cancellation is not confirmed
within a reasonable timeout.
Thanks,
Euan
next prev parent reply other threads:[~2015-02-03 9:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-20 13:50 Cancelling asynchronous operations in libxl Dave Scott
2015-01-20 16:38 ` Ian Jackson
2015-01-28 16:13 ` Euan Harris
2015-01-28 16:57 ` Ian Jackson
2015-02-02 17:43 ` Ian Jackson
2015-02-03 9:59 ` Euan Harris [this message]
2015-02-03 12:04 ` Ian Jackson
2015-06-24 15:33 ` Euan Harris
2015-06-24 15:41 ` Ian Jackson
2015-06-25 10:40 ` Ian Campbell
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=20150203095906.GC3823@citrix.com \
--to=euan.harris@citrix.com \
--cc=Dave.Scott@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xen.org \
/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.