summaryrefslogtreecommitdiff
path: root/stat.h
diff options
context:
space:
mode:
authorGwendal Grignou <gwendal@chromium.org>2014-10-24 13:42:37 -0700
committerJens Axboe <axboe@fb.com>2014-10-24 14:43:52 -0600
commita5bbbd8a324a33fb54b6073850bc8ee653c71030 (patch)
tree6645aeeec1bd215fab0ce468f585be908db9493f /stat.h
parent98b4b0a286c2a8c77d9cefd84cfaf47544b5b9e0 (diff)
downloadfio-a5bbbd8a324a33fb54b6073850bc8ee653c71030.tar.gz
fio-a5bbbd8a324a33fb54b6073850bc8ee653c71030.tar.bz2
fio: fix alignement to prevent bus error on ARM
Add a filler field to be ensure 64bit alignment. Otherwise, we would trigger SIGBUS error in sum_stat() Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stat.h b/stat.h
index 32ea2269..9595e59e 100644
--- a/stat.h
+++ b/stat.h
@@ -172,6 +172,7 @@ struct thread_stat {
* IO Error related stats
*/
uint16_t continue_on_error;
+ uint16_t filler[3];
uint64_t total_err_count;
uint32_t first_error;