Add --max-jobs/-j command line option
[fio.git] / os / os.h
diff --git a/os/os.h b/os/os.h
index 1569e409dd964c027b676227d44820e717165d2d..4bbdd623a987c174122b2577b2899332605a0a0c 100644 (file)
--- a/os/os.h
+++ b/os/os.h
@@ -106,6 +106,10 @@ typedef unsigned long os_cpu_mask_t;
 #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)
 {