fio: bump max jobs to 4k
authorJens Axboe <axboe@fb.com>
Mon, 26 Sep 2016 07:29:25 +0000 (01:29 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 26 Sep 2016 07:29:25 +0000 (01:29 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
fio.h
os/os.h

diff --git a/fio.h b/fio.h
index df4fbb16da9d4ab7dec15870c3e6826d50c329dc..080842aef4f883e177df553fca8a73f0b23bfca5 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -476,7 +476,7 @@ static inline void fio_ro_check(const struct thread_data *td, struct io_u *io_u)
        assert(!(io_u->ddir == DDIR_WRITE && !td_write(td)));
 }
 
-#define REAL_MAX_JOBS          2048
+#define REAL_MAX_JOBS          4096
 
 static inline int should_fsync(struct thread_data *td)
 {
diff --git a/os/os.h b/os/os.h
index 4f267c282db1c0f6925a8bd54d966ee428bae217..16bca6841f0c92270e5ac47150a33254039194bc 100644 (file)
--- a/os/os.h
+++ b/os/os.h
@@ -171,7 +171,7 @@ extern int fio_cpus_split(os_cpu_mask_t *mask, unsigned int cpu);
 #endif
 
 #ifndef FIO_MAX_JOBS
-#define FIO_MAX_JOBS           2048
+#define FIO_MAX_JOBS           4096
 #endif
 
 #ifndef CONFIG_SOCKLEN_T