From 7aa3ebcec011bfe9cc60d6476252c03376a37551 Mon Sep 17 00:00:00 2001 From: Martin Peschke Date: Tue, 28 Oct 2008 17:07:57 +0100 Subject: [PATCH] blkiomon: fix cross-arch data analysis issue This fixes cross-arch issues. Binary data gathered on System z could not be read on x86. Signed-off-by: Martin Peschke Signed-off-by: Jens Axboe --- blkiomon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blkiomon.h b/blkiomon.h index 2b1f7b2..f681ab8 100644 --- a/blkiomon.h +++ b/blkiomon.h @@ -40,7 +40,7 @@ struct blkiomon_stat { __u64 write; __u64 bidir; __u32 device; -}; +} __attribute__ ((packed)); static struct histlog2 size_hist = { .first = 0, -- 2.25.1