From: Wei Liu Subject: Re: [PATCH v2 for-4.6 0/2] libxl: devd fixes Date: Wed, 23 Sep 2015 16:21:30 +0100 Message-ID: <20150923152130.GG9104@zion.uk.xensource.com> References: <1443002816-95720-1-git-send-email-roger.pau@citrix.com> <20150923132000.GA9104@zion.uk.xensource.com> <5602B2CC.7010707@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZelrS-0000ep-EU for xen-devel@lists.xenproject.org; Wed, 23 Sep 2015 15:21:34 +0000 Content-Disposition: inline In-Reply-To: <5602B2CC.7010707@citrix.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: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: xen-devel@lists.xenproject.org, Wei Liu List-Id: xen-devel@lists.xenproject.org On Wed, Sep 23, 2015 at 04:10:20PM +0200, Roger Pau Monn=E9 wrote: > El 23/09/15 a les 15.20, Wei Liu ha escrit: > > On Wed, Sep 23, 2015 at 12:06:54PM +0200, Roger Pau Monne wrote: > >> The following patches fix an error when reconnecting a device that's h= andled = > >> by a driver domain and a possible race when doing the cleanup of the b= ackend = > >> path. > >> > >> I think both should be included in 4.6, since this a regression as com= pared = > >> to using udev inside of the driver domain. > >> > > = > > The first paragraph doesn't look specific to "xl devd". > = > In order to make it clearer I would change it to: > = > The following patches fix an error when reconnecting a device that's > handled by a driver domain running 'xl devd' and a possible race when > doing the cleanup of the backend path. > = > > While I agree this should be fixed and the patches are fine, do you have > > idea while udev worked in the first place? > = > udev never worked fine IMHO, there were races, specially regarding the > disconnection phase, were the toolstack could have removed the backend > xenstore nodes before giving udev a chance to run. > = > However udev didn't have the problem that this series fixes, which is > that a reconnection of the backend/frontend results in 'xl devd' > assuming the device has been removed and performing the cleanup of the > backend xenstore nodes. > = This explanation is good enough to me. Release-acked-by: Wei Liu Thanks for looking into this. > Roger.