Whamcloud - gitweb
b=13934
[fs/lustre-release.git] / lustre / osd / osd_internal.h
index 8a147ed..dc6dddc 100644 (file)
@@ -121,7 +121,11 @@ struct osd_thread_info {
 
         struct lu_fid_pack     oti_pack;
 
+        /* union to guarantee that ->oti_ipd[] has proper alignment. */
+        union {
         char                   oti_ipd[DX_IPD_MAX_SIZE];
+                long long      oti_alignment_lieutenant;
+        };
 #if OSD_COUNTERS
         int                    oti_r_locks;
         int                    oti_w_locks;