pointer -> int conversion warning
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 41a1790dee686e8837c77531e1d249cac2647513..9d190b14a175d05c03144e93b796548697b52141 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -214,6 +214,7 @@ enum fio_ioengine_flags {
        FIO_SYNCIO      = 1 << 0,       /* io engine has synchronous ->queue */
        FIO_RAWIO       = 1 << 1,       /* some sort of direct/raw io */
        FIO_DISKLESSIO  = 1 << 2,       /* no disk involved */
+       FIO_NOEXTEND    = 1 << 3,       /* engine can't extend file */
 };
 
 /*
@@ -472,6 +473,13 @@ struct thread_data {
         */
        struct timeval timeout_end;
        struct itimerval timer;
+
+       /*
+        * for fileservice, how often to switch to a new file
+        */
+       unsigned int file_service_nr;
+       unsigned int file_service_left;
+       struct fio_file *file_service_file;
 };
 
 /*
@@ -506,6 +514,7 @@ enum {
 
 extern int exitall_on_terminate;
 extern int thread_number;
+extern int nr_process, nr_thread;
 extern int shm_id;
 extern int groupid;
 extern int terse_output;