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]: Support dynamic resizing of vbds

To: Ky Srinivasan <ksrinivasan@xxxxxxxxxx>
Subject: Re: [Xen-devel][PATCH]: Support dynamic resizing of vbds
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Thu, 11 Mar 2010 15:13:38 -0800
Cc: James Harper <james.harper@xxxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 11 Mar 2010 15:14:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B9905CD0200003000081156@xxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4B96456B0200003000080E91@xxxxxxxxxxxxxxxxxxxxxxxxx> <20100309201529.GH1878@xxxxxxxxxxx> <4B964DA50200003000080E95@xxxxxxxxxxxxxxxxxxxxxxxxx> <20100309203557.GJ1878@xxxxxxxxxxx> <4B964F8B0200003000080EA0@xxxxxxxxxxxxxxxxxxxxxxxxx> <20100311201514.GZ1878@xxxxxxxxxxx> <4B996436.1000600@xxxxxxxx> <4B9905CD0200003000081156@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.3
On 03/11/2010 02:01 PM, Ky Srinivasan wrote:

On 3/11/2010 at  4:44 PM, in message<4B996436.1000600@xxxxxxxx>, Jeremy
Fitzhardinge<jeremy@xxxxxxxx>  wrote:
On 03/11/2010 12:15 PM, Pasi Kärkkäinen wrote:
On Tue, Mar 09, 2010 at 01:39:23PM -0700, Ky Srinivasan wrote:


On 3/9/2010 at  3:35 PM, in message<20100309203557.GJ1878@xxxxxxxxxxx>, Pasi

Kärkkäinen<pasik@xxxxxx>   wrote:

On Tue, Mar 09, 2010 at 01:31:17PM -0700, Ky Srinivasan wrote:


On 3/9/2010 at  3:15 PM, in message<20100309201529.GH1878@xxxxxxxxxxx>, Pasi

Kärkkäinen<pasik@xxxxxx>   wrote:

On Tue, Mar 09, 2010 at 12:56:11PM -0700, Ky Srinivasan wrote:

The attached patch supports dynamic resizing of vbds.


Nice! Did you also implement the xm/xend side of resizing?

My goal was to not have the end-user do anything other than what
was minimally required to  resizing the device on the host side.
Once the device is resized on the host side, this capacity change
is propagated to the guest without having to invoke any xm command.


Oh, even better!
What version of the kernel did you test with? 2.6.27?

I tested this on 2.6.32. The patches should apply to earlier kernels without
too much trouble.

Great!

Jeremy: Hopefully you can add this patch to your tree.

It applied fairly cleanly, but I haven't tested it yet.  Ky, by 2.6.32 I
assume I mean your one, not pvops? (Because your patch is touching
blkfront in the wrong place.)
Yes. This patch was against our sles11 sp1.

What happens if the frontend doesn't support the resize, and the device shrinks? Will the backend just raise IO errors for out of range requests?

    J

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