xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* force option of xm block-detach
@ 2011-03-21  5:30 James Harper
  2011-03-21  8:27 ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: James Harper @ 2011-03-21  5:30 UTC (permalink / raw)
  To: xen devel

How does the 'force' option to block-detach differ to not using it? Can
DomU PV drivers tell if this is a forceful detach request?

Thanks

James

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: force option of xm block-detach
  2011-03-21  5:30 force option of xm block-detach James Harper
@ 2011-03-21  8:27 ` Keir Fraser
  2011-03-21 13:42   ` Paolo Bonzini
  0 siblings, 1 reply; 3+ messages in thread
From: Keir Fraser @ 2011-03-21  8:27 UTC (permalink / raw)
  To: James Harper, xen devel

On 21/03/2011 05:30, "James Harper" <james.harper@bendigoit.com.au> wrote:

> How does the 'force' option to block-detach differ to not using it? Can
> DomU PV drivers tell if this is a forceful detach request?

I believe it means after a timeout we will simply delete the xenstore info
relating to the VBD, rather than wait an arbitrary time for the xenbus
connection to get driven into disconnected state. Thus it's not something
that is made visible to frontend/backend drivers.

 -- Keir

> Thanks
> 
> James
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: force option of xm block-detach
  2011-03-21  8:27 ` Keir Fraser
@ 2011-03-21 13:42   ` Paolo Bonzini
  0 siblings, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2011-03-21 13:42 UTC (permalink / raw)
  To: Keir Fraser; +Cc: James Harper, xen devel

On 03/21/2011 09:27 AM, Keir Fraser wrote:
>> >  How does the 'force' option to block-detach differ to not using it? Can
>> >  DomU PV drivers tell if this is a forceful detach request?
>
> I believe it means after a timeout we will simply delete the xenstore info
> relating to the VBD, rather than wait an arbitrary time for the xenbus
> connection to get driven into disconnected state. Thus it's not something
> that is made visible to frontend/backend drivers.

That's correct, the drivers just see it as a transition to 
XenbusStateUnknown.

Paolo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-21 13:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-21  5:30 force option of xm block-detach James Harper
2011-03-21  8:27 ` Keir Fraser
2011-03-21 13:42   ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).