blktrace support update
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 060a1ee5ba325e4b528204041688328ea9264d1d..870b6704a7852a938d47830e85f5753165d45de1 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -88,6 +88,7 @@ struct io_piece {
        unsigned long long offset;
        unsigned long len;
        enum fio_ddir ddir;
+       unsigned long delay;
 };
 
 #ifdef FIO_HAVE_SYSLET
@@ -825,6 +826,12 @@ extern int __must_check td_io_commit(struct thread_data *);
 extern int __must_check td_io_open_file(struct thread_data *, struct fio_file *);
 extern void td_io_close_file(struct thread_data *, struct fio_file *);
 
+/*
+ * blktrace support
+ */
+extern int is_blktrace(const char *);
+extern int load_blktrace(struct thread_data *, const char *);
+
 /*
  * If logging output to a file, stderr should go to both stderr and f_err
  */