Ensure that thread_stat alignment is correct
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 963cf034c260a333f60eca33a365e280c400330f..6c06a0cdf27815d194b64f0e9a9be112bb7081a4 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -149,7 +149,7 @@ struct thread_data {
        unsigned int thread_number;
        unsigned int subjob_number;
        unsigned int groupid;
-       struct thread_stat ts __attribute__ ((aligned));
+       struct thread_stat ts __attribute__ ((aligned(8)));
 
        int client_type;