stat: ensure we align correctly
[fio.git] / stat.h
diff --git a/stat.h b/stat.h
index fd261f3f45b2825fd11c73d6603eb75bda553e30..9320c6bd2d02c075aeaa625775df345b79430712 100644 (file)
--- a/stat.h
+++ b/stat.h
@@ -239,9 +239,9 @@ struct thread_stat {
        fio_fp64_t ss_deviation;
        fio_fp64_t ss_criterion;
 
-       uint64_t io_u_plat_high_prio[DDIR_RWDIR_CNT][FIO_IO_U_PLAT_NR];
+       uint64_t io_u_plat_high_prio[DDIR_RWDIR_CNT][FIO_IO_U_PLAT_NR] __attribute__((aligned(8)));;
        uint64_t io_u_plat_prio[DDIR_RWDIR_CNT][FIO_IO_U_PLAT_NR];
-       struct io_stat clat_high_prio_stat[DDIR_RWDIR_CNT];
+       struct io_stat clat_high_prio_stat[DDIR_RWDIR_CNT] __attribute__((aligned(8)));
        struct io_stat clat_prio_stat[DDIR_RWDIR_CNT];
 
        union {