[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <32978d4e198f4359bc7878d8474b3078@AMSPEX02CL03.citrite.net>
Date: Wed, 27 Jul 2016 09:29:08 +0000
From: Paul Durrant <Paul.Durrant@...rix.com>
To: Bob Liu <bob.liu@...cle.com>,
Roger Pau Monne <roger.pau@...rix.com>
CC: "xen-devel@...ts.xenproject.org" <xen-devel@...ts.xenproject.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [Xen-devel] [PATCH v3] xen-blkfront: dynamic configuration of
per-vbd resources
> -----Original Message-----
[snip]
> >
> > Also, I'm not sure this is correct, if blkfront sees the "Closing" state on
> > blkback it will try to close the frontend and destroy the block device (see
> > blkfront_closing), and this should be avoided. You should call
> > blkfront_resume as soon as you see the backend move to the Closed or
> Closing
> > states, without calling blkfront_closing.
> >
>
> I didn't get how this can happen, backend state won't be changed to 'Closing'
> before blkfront_closing() is called.
> So I think current logic is fine.
>
Backends can go to closing before frontends, when the PV device is being detached.
Paul
Powered by blists - more mailing lists