Flexible I/O Tester development
 help / color / mirror / Atom feed
* [PATCH] fio: fix alignement to prevent bus error on ARM
@ 2014-10-24 20:42 Gwendal Grignou
  2014-10-24 20:44 ` Jens Axboe
  2014-10-24 20:47 ` Mike Frysinger
  0 siblings, 2 replies; 10+ messages in thread
From: Gwendal Grignou @ 2014-10-24 20:42 UTC (permalink / raw)
  To: axboe; +Cc: fio, vapier, puthik, Gwendal Grignou

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>
---
 stat.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/stat.h b/stat.h
index 32ea226..9595e59 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;
 
-- 
2.1.0.rc2.206.gedb03e5



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-10-27 16:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-24 20:42 [PATCH] fio: fix alignement to prevent bus error on ARM Gwendal Grignou
2014-10-24 20:44 ` Jens Axboe
2014-10-24 20:47 ` Mike Frysinger
2014-10-24 20:49   ` Jens Axboe
2014-10-24 21:06     ` [PATCH v2] fio: Fix padding properly Gwendal Grignou
2014-10-24 21:21       ` Gwendal Grignou
2014-10-24 21:32     ` [PATCH v3] " Gwendal Grignou
2014-10-25 23:04     ` [PATCH v4] " Gwendal Grignou
2014-10-27 14:50       ` Jens Axboe
2014-10-27 16:50     ` [PATCH v5] " Gwendal Grignou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox