|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [OSSTEST PATCH] ts-hosts-allocate-Executive: improve debugging slightly
On Wed, 2014-04-23 at 11:05 +0100, Ian Jackson wrote:
> I spotted a logfile where an allocation had failed (later worked OK)
> with $allocatable=0 here. Provide more info next time.
>
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
FWIW Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
> ---
> ts-hosts-allocate-Executive | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/ts-hosts-allocate-Executive b/ts-hosts-allocate-Executive
> index 707c6a7..0e9c193 100755
> --- a/ts-hosts-allocate-Executive
> +++ b/ts-hosts-allocate-Executive
> @@ -644,7 +644,8 @@ sub actual_allocation ($) {
>
> my $allocatable= $cand->{owntaskid} == $magictaskid{allocatable};
> my $dbg= "$hid->{Ident} $sel->{Reso}";
> - printf DEBUG "%s ALLOC PLAIN %d\n", $dbg, $allocatable;
> + printf DEBUG "%s ALLOC PLAIN %d (%d, %d)\n", $dbg, $allocatable,
> + $cand->{owntaskid}, $magictaskid{allocatable};
>
> my $shared;
> my $shrestype= 'share-'.$sel->{restype};
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |