Fix build/compile for non-blktrace platforms
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 6ee0d6aa2d1ef9bc3c1ecb807116b7bf77d691ec..2104e3a9325dd2456c2dfe91a6837c5c9d08a9c8 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -268,6 +268,7 @@ struct fio_file {
         */
        char *file_name;
        void *mmap;
+       unsigned int major, minor;
 
        /*
         * size of the file, offset into file, and io size from that offset
@@ -405,6 +406,7 @@ struct thread_options {
        unsigned int new_group;
        unsigned int numjobs;
        os_cpu_mask_t cpumask;
+       unsigned int cpumask_set;
        unsigned int iolog;
        unsigned int rwmixcycle;
        unsigned int rwmix[2];
@@ -824,8 +826,10 @@ extern void td_io_close_file(struct thread_data *, struct fio_file *);
 /*
  * blktrace support
  */
+#ifdef FIO_HAVE_BLKTRACE
 extern int is_blktrace(const char *);
 extern int load_blktrace(struct thread_data *, const char *);
+#endif
 
 /*
  * If logging output to a file, stderr should go to both stderr and f_err