Add support for registrering external options
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index aa5124cd03a805d9158391131d3e1788c1f4b9e9..bdc1708123e89f73f704fecdd34301f76f1ca37e 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -227,6 +227,7 @@ struct thread_options {
        unsigned int file_service_type;
        unsigned int group_reporting;
        unsigned int fadvise_hint;
+       unsigned int fallocate;
        unsigned int zero_buffers;
        unsigned int refill_buffers;
        unsigned int time_based;
@@ -275,10 +276,11 @@ struct thread_options {
        /*
         * blkio cgroup support
         */
-       char *cgroup_root;
        char *cgroup;
        unsigned int cgroup_weight;
-       unsigned int cgroup_was_created;
+
+       unsigned int uid;
+       unsigned int gid;
 };
 
 #define FIO_VERROR_SIZE        128
@@ -358,7 +360,7 @@ struct thread_data {
        /*
         * Rate state
         */
-       unsigned long rate_usec_cycle[2];
+       unsigned long rate_nsec_cycle[2];
        long rate_pending_usleep[2];
        unsigned long rate_bytes[2];
        unsigned long rate_blocks[2];