Re: [PATCH 3/5] xen-pcifront: handle backend CLOSED without CLOSING

2012-11-30 Thread Konrad Rzeszutek Wilk
On Fri, Nov 30, 2012 at 02:42:14PM -0700, Bjorn Helgaas wrote: > On Fri, Nov 30, 2012 at 11:41 AM, Bjorn Helgaas wrote: > > On Fri, Oct 19, 2012 at 6:59 AM, Konrad Rzeszutek Wilk > > wrote: > >> On Thu, Oct 18, 2012 at 11:03:36AM +0100, David Vrabel wrote: > >>> From: David Vrabel > >>> > >>>

Re: [PATCH 3/5] xen-pcifront: handle backend CLOSED without CLOSING

2012-11-30 Thread Bjorn Helgaas
On Fri, Nov 30, 2012 at 11:41 AM, Bjorn Helgaas wrote: > On Fri, Oct 19, 2012 at 6:59 AM, Konrad Rzeszutek Wilk > wrote: >> On Thu, Oct 18, 2012 at 11:03:36AM +0100, David Vrabel wrote: >>> From: David Vrabel >>> >>> Backend drivers shouldn't transistion to CLOSED unless the frontend is >>>

Re: [PATCH 3/5] xen-pcifront: handle backend CLOSED without CLOSING

2012-11-30 Thread Bjorn Helgaas
On Fri, Oct 19, 2012 at 6:59 AM, Konrad Rzeszutek Wilk wrote: > On Thu, Oct 18, 2012 at 11:03:36AM +0100, David Vrabel wrote: >> From: David Vrabel >> >> Backend drivers shouldn't transistion to CLOSED unless the frontend is >> CLOSED. If a backend does transition to CLOSED too soon then the >>

Re: [PATCH 3/5] xen-pcifront: handle backend CLOSED without CLOSING

2012-11-30 Thread Bjorn Helgaas
On Fri, Oct 19, 2012 at 6:59 AM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, Oct 18, 2012 at 11:03:36AM +0100, David Vrabel wrote: From: David Vrabel david.vra...@citrix.com Backend drivers shouldn't transistion to CLOSED unless the frontend is CLOSED. If a backend does

Re: [PATCH 3/5] xen-pcifront: handle backend CLOSED without CLOSING

2012-11-30 Thread Bjorn Helgaas
On Fri, Nov 30, 2012 at 11:41 AM, Bjorn Helgaas bhelg...@google.com wrote: On Fri, Oct 19, 2012 at 6:59 AM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, Oct 18, 2012 at 11:03:36AM +0100, David Vrabel wrote: From: David Vrabel david.vra...@citrix.com Backend drivers shouldn't

Re: [PATCH 3/5] xen-pcifront: handle backend CLOSED without CLOSING

2012-11-30 Thread Konrad Rzeszutek Wilk
On Fri, Nov 30, 2012 at 02:42:14PM -0700, Bjorn Helgaas wrote: On Fri, Nov 30, 2012 at 11:41 AM, Bjorn Helgaas bhelg...@google.com wrote: On Fri, Oct 19, 2012 at 6:59 AM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, Oct 18, 2012 at 11:03:36AM +0100, David Vrabel wrote:

Re: [PATCH 3/5] xen-pcifront: handle backend CLOSED without CLOSING

2012-10-19 Thread Konrad Rzeszutek Wilk
On Thu, Oct 18, 2012 at 11:03:36AM +0100, David Vrabel wrote: > From: David Vrabel > > Backend drivers shouldn't transistion to CLOSED unless the frontend is > CLOSED. If a backend does transition to CLOSED too soon then the > frontend may not see the CLOSING state and will not properly

Re: [PATCH 3/5] xen-pcifront: handle backend CLOSED without CLOSING

2012-10-19 Thread Konrad Rzeszutek Wilk
On Thu, Oct 18, 2012 at 11:03:36AM +0100, David Vrabel wrote: From: David Vrabel david.vra...@citrix.com Backend drivers shouldn't transistion to CLOSED unless the frontend is CLOSED. If a backend does transition to CLOSED too soon then the frontend may not see the CLOSING state and will

[PATCH 3/5] xen-pcifront: handle backend CLOSED without CLOSING

2012-10-18 Thread David Vrabel
From: David Vrabel Backend drivers shouldn't transistion to CLOSED unless the frontend is CLOSED. If a backend does transition to CLOSED too soon then the frontend may not see the CLOSING state and will not properly shutdown. So, treat an unexpected backend CLOSED state the same as CLOSING.

[PATCH 3/5] xen-pcifront: handle backend CLOSED without CLOSING

2012-10-18 Thread David Vrabel
From: David Vrabel david.vra...@citrix.com Backend drivers shouldn't transistion to CLOSED unless the frontend is CLOSED. If a backend does transition to CLOSED too soon then the frontend may not see the CLOSING state and will not properly shutdown. So, treat an unexpected backend CLOSED state