Add support for specifying UID/GID
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index e4ed76fbde2bf0304f477349a67db1ad488db298..3b2dd6edcfd51c74ab20ec0d439b723b88802bcd 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -28,6 +28,8 @@
 #include "io_ddir.h"
 #include "ioengine.h"
 #include "iolog.h"
+#include "profiles.h"
+#include "helpers.h"
 
 #ifdef FIO_HAVE_GUASI
 #include <guasi.h>
@@ -264,6 +266,20 @@ struct thread_options {
         * I/O Error handling
         */
        unsigned int continue_on_error;
+
+       /*
+        * Benchmark profile type
+        */
+       unsigned int profile;
+
+       /*
+        * blkio cgroup support
+        */
+       char *cgroup;
+       unsigned int cgroup_weight;
+
+       unsigned int uid;
+       unsigned int gid;
 };
 
 #define FIO_VERROR_SIZE        128