Bump max job count to 2048
authorJens Axboe <jaxboe@fusionio.com>
Mon, 2 May 2011 19:05:02 +0000 (13:05 -0600)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 2 May 2011 19:05:02 +0000 (13:05 -0600)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fio.h

diff --git a/fio.h b/fio.h
index c0087e8105bc00ec6d82853d55a1c8a9773b5800..4b6fb9fdd209f61147b964ca46046b431d74a9fc 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -557,7 +557,7 @@ static inline void fio_ro_check(struct thread_data *td, struct io_u *io_u)
 #define RAND_MAP_IDX(f, b)     (TO_MAP_BLOCK(f, b) / BLOCKS_PER_MAP)
 #define RAND_MAP_BIT(f, b)     (TO_MAP_BLOCK(f, b) & (BLOCKS_PER_MAP - 1))
 
-#define MAX_JOBS       (1024)
+#define MAX_JOBS       (2048)
 
 #define td_non_fatal_error(e)  ((e) == EIO || (e) == EILSEQ)