CGROUP fixes
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 1723067eb325adb33112b9239ae29869067c19ca..aa5124cd03a805d9158391131d3e1788c1f4b9e9 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -29,6 +29,7 @@
 #include "ioengine.h"
 #include "iolog.h"
 #include "profiles.h"
+#include "helpers.h"
 
 #ifdef FIO_HAVE_GUASI
 #include <guasi.h>
@@ -270,6 +271,14 @@ struct thread_options {
         * Benchmark profile type
         */
        unsigned int profile;
+
+       /*
+        * blkio cgroup support
+        */
+       char *cgroup_root;
+       char *cgroup;
+       unsigned int cgroup_weight;
+       unsigned int cgroup_was_created;
 };
 
 #define FIO_VERROR_SIZE        128