[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH] ts-hosts-allocate-Executive: improve debugging slightly
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> --- 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}; -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |