Skip to content

Commit

Permalink
fio: bump max jobs to 4k
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Axboe <axboe@fb.com>
  • Loading branch information
axboe committed Sep 26, 2016
1 parent 81b3c86 commit cab2472
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fio.h
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion os/os.h
Expand Up @@ -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
Expand Down

0 comments on commit cab2472

Please sign in to comment.