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] Greater than 16 xvd devices for blkfront

To: Chris Wright <chrisw@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Greater than 16 xvd devices for blkfront
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 08 May 2008 23:14:34 +0100
Cc: "Daniel P. Berrange" <berrange@xxxxxxxxxx>, Chris Lalancette <clalance@xxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 08 May 2008 15:15:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080508153350.GO17453@xxxxxxxxxxxxxxxxxxxx>
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: <48209705.4030005@xxxxxxxxxx> <20080507015502.GA2121@xxxxxxxxxx> <20080507034726.GC2121@xxxxxxxxxx> <20080507164031.GB18143@xxxxxxxxxxxxxxxxxxxx> <18466.51240.492762.405781@xxxxxxxxxxxxxxxxxxxxxxxx> <20080508153350.GO17453@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080501)
Chris Wright wrote:
Well, we don't actually need 202, or any minor numbers at all.  The major
is only needed for the case where xvd masquerades as IDE or SCSI.
We ripped this wart out for upstream Linux.

I'm considering putting it back in if it makes anyone's life easier. In general using labels/uuids is the best way to make an installation device-agnostic, but installers might have an easier time with a forged scsi device or something. I mentioned it in passing to Al Viro, and he was surprisingly non-insulting about the notion.

 And the guest can happily
dynamically allocate minor numbers on its own behalf.  A disk discovery
event can be completely dynamic, the admin just wouldn't be able to
guarantee which minor slot gets allocated for a particular disk in
a guest.  We do have mount by label or UUID.

That's true for filesystems which have already been initialized. But if you're attaching 4 new devices to a guest and they appear at random device nodes, how do you know which is which? Smell?

   J

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