From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: [PATCH]: Support dynamic resizing of vbds Date: Thu, 11 Mar 2010 15:13:38 -0800 Message-ID: <4B997922.1080407@goop.org> References: <4B96456B0200003000080E91@sinclair.provo.novell.com> <20100309201529.GH1878@reaktio.net> <4B964DA50200003000080E95@sinclair.provo.novell.com> <20100309203557.GJ1878@reaktio.net> <4B964F8B0200003000080EA0@sinclair.provo.novell.com> <20100311201514.GZ1878@reaktio.net> <4B996436.1000600@goop.org> <4B9905CD0200003000081156@sinclair.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4B9905CD0200003000081156@sinclair.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ky Srinivasan Cc: James Harper , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 03/11/2010 02:01 PM, Ky Srinivasan wrote: > > =20 >>>> On 3/11/2010 at 4:44 PM, in message<4B996436.1000600@goop.org>, Jer= emy >>>> =20 > Fitzhardinge wrote: > =20 >> On 03/11/2010 12:15 PM, Pasi K=C3=A4rkk=C3=A4inen wrote: >> =20 >>> On Tue, Mar 09, 2010 at 01:39:23PM -0700, Ky Srinivasan wrote: >>> >>> =20 >>>> >>>> =20 >>>>>>> On 3/9/2010 at 3:35 PM, in message<20100309203557.GJ1878@reaktio= .net>, Pasi >>>>>>> >>>>>>> =20 >>>> K=C3=A4rkk=C3=A4inen wrote: >>>> >>>> =20 >>>>> On Tue, Mar 09, 2010 at 01:31:17PM -0700, Ky Srinivasan wrote: >>>>> >>>>> =20 >>>>>> >>>>>> =20 >>>>>>>>> On 3/9/2010 at 3:15 PM, in message<20100309201529.GH1878@reakt= io.net>, Pasi >>>>>>>>> >>>>>>>>> =20 >>>>>> K=C3=A4rkk=C3=A4inen wrote: >>>>>> >>>>>> =20 >>>>>>> On Tue, Mar 09, 2010 at 12:56:11PM -0700, Ky Srinivasan wrote: >>>>>>> >>>>>>> =20 >>>>>>>> The attached patch supports dynamic resizing of vbds. >>>>>>>> >>>>>>>> >>>>>>>> =20 >>>>>>> Nice! Did you also implement the xm/xend side of resizing? >>>>>>> >>>>>>> =20 >>>>>> 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= . >>>>>> >>>>>> >>>>>> =20 >>>>> Oh, even better! >>>>> What version of the kernel did you test with? 2.6.27? >>>>> >>>>> =20 >>>> I tested this on 2.6.32. The patches should apply to earlier kernels= without >>>> =20 >> too much trouble. >> =20 >>>> >>>> =20 >>> Great! >>> >>> Jeremy: Hopefully you can add this patch to your tree. >>> >>> =20 >> 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.) >> =20 > Yes. This patch was against our sles11 sp1. > =20 What happens if the frontend doesn't support the resize, and the device=20 shrinks? Will the backend just raise IO errors for out of range requests= ? J