commit | fca7035863bd570270376a0c06776e5549ff813e | [log] [tgz] |
---|---|---|
author | Jens Axboe <jaxboe@fusionio.com> | Wed Jul 06 20:12:54 2011 +0200 |
committer | Jens Axboe <jaxboe@fusionio.com> | Wed Jul 06 20:12:54 2011 +0200 |
tree | 0d2097f3580741272123aeab714da9366a6b9b08 | |
parent | 5982a925647f5d376bd7c2aca27e49b4cfe4a2c1 [diff] [blame] |
Add --max-jobs/-j command line option And shrink OSX max default number of jobs supported. OSX has, by default, a very small shared memory segment available. Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
diff --git a/fio.c b/fio.c index 5ea1a2c..01aa1d6 100644 --- a/fio.c +++ b/fio.c
@@ -1515,7 +1515,7 @@ set_genesis_time(); while (todo) { - struct thread_data *map[MAX_JOBS]; + struct thread_data *map[REAL_MAX_JOBS]; struct timeval this_start; int this_jobs = 0, left;