From: Steve Reinhardt Date: Sun, 12 Mar 2006 03:01:33 +0000 (-0500) Subject: Bump up NFS wait time in qdo (since this has been causing X-Git-Tag: m5_2.0_beta1~190 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1141610a01c7b22050fe4d862e20f12a5a7c8414;p=gem5.git Bump up NFS wait time in qdo (since this has been causing problems in pool regressions). util/qdo: Bump up hardcoded NFS wait time from 45 sec to 90 sec (and print threshold from 10 sec to 30 sec). Would be even nicer to make these cmd-line params, but nobody would use them anyway. --HG-- extra : convert_revision : 1e9b3ad43a5dbf5e30758069e5a8cde3749cc1a6 --- diff --git a/util/qdo b/util/qdo index 135cce4ef..b3c025720 100755 --- a/util/qdo +++ b/util/qdo @@ -179,10 +179,10 @@ try: if output_dir: secs_waited = 0 - while not shell.dir_exists(output_dir) and secs_waited < 45: + while not shell.dir_exists(output_dir) and secs_waited < 90: time.sleep(5) secs_waited += 5 - if secs_waited > 10: + if secs_waited > 30: print "waited", secs_waited, "seconds for", output_dir # run command