Honor ./configure --cc= option
[fio.git] / iolog.h
diff --git a/iolog.h b/iolog.h
index 8fedc192cd6298be13c229b955b7d651fae2da96..07163916585baea680eb14604b3020c2d300e20b 100644 (file)
--- a/iolog.h
+++ b/iolog.h
@@ -49,6 +49,11 @@ struct io_log {
 
        unsigned int log_type;
 
+       /*
+        * If we fail extending the log, stop collecting more entries.
+        */
+       unsigned int disabled;
+
        /*
         * Windowed average, for logging single entries average over some
         * period of time.
@@ -62,6 +67,7 @@ enum {
        IP_F_ONRB       = 1,
        IP_F_ONLIST     = 2,
        IP_F_TRIMMED    = 4,
+       IP_F_IN_FLIGHT  = 8,
 };
 
 /*
@@ -78,6 +84,7 @@ struct io_piece {
                struct fio_file *file;
        };
        unsigned long long offset;
+       unsigned short numberio;
        unsigned long len;
        unsigned int flags;
        enum fio_ddir ddir;
@@ -110,6 +117,7 @@ extern void write_iolog_close(struct thread_data *);
 /*
  * Logging
  */
+extern void finalize_logs(struct thread_data *td);
 extern void add_lat_sample(struct thread_data *, enum fio_ddir, unsigned long,
                                unsigned int);
 extern void add_clat_sample(struct thread_data *, enum fio_ddir, unsigned long,