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/os/os.h b/os/os.h index 1569e40..4bbdd62 100644 --- a/os/os.h +++ b/os/os.h
@@ -106,6 +106,10 @@ #define FIO_PREFERRED_ENGINE "sync" #endif +#ifndef FIO_MAX_JOBS +#define FIO_MAX_JOBS 2048 +#endif + #ifndef FIO_HAVE_BLKTRACE static inline int is_blktrace(const char *fname) {