WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [patch] loopback block device confliction is fixed.

To: Satoshi Uchida <s-uchida@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [patch] loopback block device confliction is fixed.
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Fri, 2 Dec 2005 15:56:35 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 02 Dec 2005 15:56:31 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <iss.26d2a681.393f.438d16c4.9e2f0.85@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <iss.26d2a681.393f.438d16c4.9e2f0.85@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Wed, Nov 30, 2005 at 12:04:36PM +0900, Satoshi Uchida wrote:

> Hi.
> 
> I found cause of problem that loopback devices is not connect when more
> than two loopback block devices is used.
> The cause is setup these loopback block devices concurrently, so that
> these devices indicate same loopback devices.
> (show log file ... message.log)
> 
> I attach tentative patch for this problem. (block.patch)
> This patch is that searching is stopped if free loop back device is
> found.
> Process is very fast, so that in my environments, confliction is not
> observed.
> 
> I think that good resolution is provide lock mechanism.

Thanks for your analysis and your tentative patch.  You were right that a
better fix was to provide a lock mechanism, and that's what I've done.

Cheers,

Ewan.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] [patch] loopback block device confliction is fixed., Ewan Mellor <=