From 819db5f5009742975cfdd036440522bd45b86fe7 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 27 Jun 2014 15:01:06 -0600 Subject: [PATCH] Fix struct jobs_eta packing on 32 vs 64-bit archs Signed-off-by: Jens Axboe --- stat.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stat.h b/stat.h index 6f9d82a1..fb1485df 100644 --- a/stat.h +++ b/stat.h @@ -186,9 +186,13 @@ struct thread_stat { struct jobs_eta { uint32_t nr_running; uint32_t nr_ramp; + uint32_t nr_pending; uint32_t nr_setting_up; + uint32_t files_open; + uint32_t pad1; + uint32_t m_rate[DDIR_RWDIR_CNT], t_rate[DDIR_RWDIR_CNT]; uint32_t m_iops[DDIR_RWDIR_CNT], t_iops[DDIR_RWDIR_CNT]; uint32_t rate[DDIR_RWDIR_CNT]; @@ -202,6 +206,7 @@ struct jobs_eta { * Network 'copy' of run_str[] */ uint32_t nr_threads; + uint32_t pad2; uint8_t run_str[]; }; -- 2.25.1