|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH OSSTEST] ts-xen-build-prep: don't attempt to extend volume group by 0.
Ian Campbell writes ("[PATCH OSSTEST] ts-xen-build-prep: don't attempt to
extend volume group by 0."):
> overall_limit_pe can set its argument to 0 if the VG is already as
> large as it is allowed to be.
>
> In which case we would end up passing "-l +0" to lvextend, which it
> complains about and then fails.
>
> Move the clamping of $vg_more_free_pe to outside the check for it
> being 0.
>
> Based on a patch by Robert Ho.
>
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> Cc: Robert Ho <robert.hu@xxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
(again, I think...)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |