From cab2472e2e9e84877e65c6aa68b86899956c8a28 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 26 Sep 2016 01:29:25 -0600 Subject: [PATCH] fio: bump max jobs to 4k Signed-off-by: Jens Axboe --- fio.h | 2 +- os/os.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fio.h b/fio.h index df4fbb16..080842ae 100644 --- 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 4f267c28..16bca684 100644 --- 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 -- 2.25.1