Allow gnt-debug submit-job to take multiple args
authorIustin Pop <iustin@google.com>
Fri, 1 May 2009 19:19:59 +0000 (21:19 +0200)
committerIustin Pop <iustin@google.com>
Mon, 4 May 2009 13:45:48 +0000 (15:45 +0200)
commit9903606081a591c72258ea2b43e9591b950de9c0
treecad725ea91d6894eae44a3b3c9eea33028ef4269
parentd64769a87918628430724036018c154ab1472b50
Allow gnt-debug submit-job to take multiple args

Currently “gnt-debug submit-job” takes a single argument and has
non-trivial startup-costs; in order to exercise the job system, it is
better to be able to submit multiple jobs with a single invocation of
the script.

This patch extends it to take multiple argument, de-serialize the
opcodes and then submit all of them as fast as possible, in order to
increase pressure on the master daemon.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Alexander Schreiber <als@google.com>
man/gnt-debug.sgml
scripts/gnt-debug