From: Ian Campbell <ian.campbell@citrix.com>
To: Ian Jackson <ian.jackson@eu.citrix.com>, xen-devel@lists.xenproject.org
Subject: Re: [OSSTEST PATCH 07/29] Planner: client side: Do not force OSSTEST_RESOURCE_PRIORITY
Date: Tue, 8 Sep 2015 10:45:28 +0100 [thread overview]
Message-ID: <1441705528.24450.36.camel@citrix.com> (raw)
In-Reply-To: <1441642107-21826-8-git-send-email-ian.jackson@eu.citrix.com>
On Mon, 2015-09-07 at 17:08 +0100, Ian Jackson wrote:
> This makes it possible to run mg-allocate with a different priority
> simply by setting OSSTEST_RESOURCE_PRIORITY in its environment.
>
> Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
> ---
> v2: New patch
> ---
> mg-allocate | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mg-allocate b/mg-allocate
> index 6dc7ddd..14c9088 100755
> --- a/mg-allocate
> +++ b/mg-allocate
> @@ -365,7 +365,7 @@ while (@ARGV && $ARGV[0] =~ m/^[-0-9]/) {
> $2 eq 'm' ? 60 :
> 1);
> } elsif (s/^\-U/-/) {
> - $ENV{OSSTEST_RESOURCE_PRIORITY}= -1000000;
> + $ENV{OSSTEST_RESOURCE_PRIORITY} //= -1000000;
> } else {
> die "bad option \`$_'";
> }
next prev parent reply other threads:[~2015-09-08 9:45 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-07 16:07 [OSSTEST PATCH v2 00/29] Planner: Performance improvement Ian Jackson
2015-09-07 16:07 ` [OSSTEST PATCH 01/29] Tcl: Use lshift instead of open-coding with lrange Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 02/29] Planner: docs: Minor fixes Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 03/29] Planner: docs: Document set-info command Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 04/29] Planner: Fix indefinite holdoff Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 05/29] Planner: client side: $mayalloc parameter to $resourcecall->() Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 06/29] Planner: client side: New `!OK think noalloc' protocol Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 07/29] Planner: client side: Do not force OSSTEST_RESOURCE_PRIORITY Ian Jackson
2015-09-08 9:45 ` Ian Campbell [this message]
2015-09-07 16:08 ` [OSSTEST PATCH 08/29] Planner: ms-planner support -w option Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 09/29] Planner: ms-queuedaemon: Prep for multiple walkers Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 10/29] Planner: ms-queuedaemon: Synchronise thinking " Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 11/29] Planner: ms-queuedaemon: Break out queuerun-finished/<walker> Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 12/29] Planner: ms-queuedaemon: Break out notify-to-think Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 13/29] Planner: ms-queuedaemon: Make report-plan take output walker name Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 14/29] Planner: ms-queuedaemon: Restart planning when resources become free Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 15/29] Plan reporting: Break out return-plan-to-client Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 16/29] Plan reporting: Provide get-last-plan queuedaemon command Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 17/29] Planner: ms-queuedaemon: Break out chan-plan-info Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 18/29] Planner: Report unprocessed planning clients Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 19/29] Tcl: Provide get-chan-desc in daemonlib Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 20/29] Planner: ms-queuedaemon: Use chan-get-desc in chan-plan-info Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 21/29] Planner: Remove O(n^2) problem from plan restart Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 22/29] Planner: ms-queuedaemon: Better log message for Tcl `after idle' Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 23/29] Planner: ms-queuedaemon: Reformat debugging output for more tasks Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 24/29] Manual allocation: Report better info in plan for rogue tasks Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 25/29] Manual allocation: Break out manual_allocation_base_jobinfo from mg-blockage Ian Jackson
2015-09-08 9:59 ` Ian Campbell
2015-09-07 16:08 ` [OSSTEST PATCH 26/29] Manual allocation: Provide JobInfo in mg-blockage Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 27/29] Manual allocation: Provide JobInfo in mg-allocate Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 28/29] Manual allocation: Show tty in jobinfo Ian Jackson
2015-09-07 16:08 ` [OSSTEST PATCH 29/29] Manual allocation: Set $| in mg-blockage Ian Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441705528.24450.36.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.