Bump length of description field to 256 chars
[fio.git] / thread_options.h
index b7a88ed358f14f73e9933f859a5837c6362bdded..bacd86b483aa4f9f2f863227d845d1a76506893f 100644 (file)
@@ -28,8 +28,10 @@ struct bssplit {
        uint32_t perc;
 };
 
+#define OPT_MAGIC      0x4f50544e
+
 struct thread_options {
-       int pad;
+       int magic;
        char *description;
        char *name;
        char *directory;
@@ -43,7 +45,7 @@ struct thread_options {
        unsigned int kb_base;
        unsigned int unit_base;
        unsigned int ddir_seq_nr;
-       long ddir_seq_add;
+       long long ddir_seq_add;
        unsigned int iodepth;
        unsigned int iodepth_low;
        unsigned int iodepth_batch;
@@ -153,6 +155,7 @@ struct thread_options {
        unsigned int cpumask_set;
        os_cpu_mask_t verify_cpumask;
        unsigned int verify_cpumask_set;
+       unsigned int cpus_allowed_policy;
 #ifdef CONFIG_LIBNUMA
        struct bitmask *numa_cpunodesmask;
        unsigned int numa_cpumask_set;
@@ -376,6 +379,7 @@ struct thread_options_pack {
        uint32_t cpumask_set;
        uint8_t verify_cpumask[FIO_TOP_STR_MAX];
        uint32_t verify_cpumask_set;
+       uint32_t cpus_allowed_policy;
        uint32_t iolog;
        uint32_t rwmixcycle;
        uint32_t rwmix[DDIR_RWDIR_CNT];