Whamcloud - gitweb
b=22755 Don't consume grant twice on recoverable resend
[fs/lustre-release.git] / lustre / ptlrpc / wiretest.c
index 6f9a54a..81fe0ff 100644 (file)
@@ -288,122 +288,6 @@ void lustre_assert_wire_constants(void)
         LASSERTF((int)sizeof(struct obd_uuid) == 40, " found %lld\n",
                  (long long)(int)sizeof(struct obd_uuid));
 
-        /* Checks for struct lu_seq_range */
-        LASSERTF((int)sizeof(struct lu_seq_range) == 24, " found %lld\n",
-                 (long long)(int)sizeof(struct lu_seq_range));
-        LASSERTF((int)offsetof(struct lu_seq_range, lsr_start) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_seq_range, lsr_start));
-        LASSERTF((int)sizeof(((struct lu_seq_range *)0)->lsr_start) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_seq_range *)0)->lsr_start));
-        LASSERTF((int)offsetof(struct lu_seq_range, lsr_end) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_seq_range, lsr_end));
-        LASSERTF((int)sizeof(((struct lu_seq_range *)0)->lsr_end) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_seq_range *)0)->lsr_end));
-        LASSERTF((int)offsetof(struct lu_seq_range, lsr_mdt) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_seq_range, lsr_mdt));
-        LASSERTF((int)sizeof(((struct lu_seq_range *)0)->lsr_mdt) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_seq_range *)0)->lsr_mdt));
-        LASSERTF((int)offsetof(struct lu_seq_range, lsr_padding) == 20, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_seq_range, lsr_padding));
-        LASSERTF((int)sizeof(((struct lu_seq_range *)0)->lsr_padding) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_seq_range *)0)->lsr_padding));
-
-        /* Checks for struct lustre_mdt_attrs */
-        LASSERTF((int)sizeof(struct lustre_mdt_attrs) == 64, " found %lld\n",
-                 (long long)(int)sizeof(struct lustre_mdt_attrs));
-        LASSERTF((int)offsetof(struct lustre_mdt_attrs, lma_compat) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_mdt_attrs, lma_compat));
-        LASSERTF((int)sizeof(((struct lustre_mdt_attrs *)0)->lma_compat) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_mdt_attrs *)0)->lma_compat));
-        LASSERTF((int)offsetof(struct lustre_mdt_attrs, lma_incompat) == 4, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_mdt_attrs, lma_incompat));
-        LASSERTF((int)sizeof(((struct lustre_mdt_attrs *)0)->lma_incompat) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_mdt_attrs *)0)->lma_incompat));
-        LASSERTF((int)offsetof(struct lustre_mdt_attrs, lma_self_fid) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_mdt_attrs, lma_self_fid));
-        LASSERTF((int)sizeof(((struct lustre_mdt_attrs *)0)->lma_self_fid) == 16, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_mdt_attrs *)0)->lma_self_fid));
-        LASSERTF((int)offsetof(struct lustre_mdt_attrs, lma_flags) == 24, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_mdt_attrs, lma_flags));
-        LASSERTF((int)sizeof(((struct lustre_mdt_attrs *)0)->lma_flags) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_mdt_attrs *)0)->lma_flags));
-        LASSERTF((int)offsetof(struct lustre_mdt_attrs, lma_ioepoch) == 32, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_mdt_attrs, lma_ioepoch));
-        LASSERTF((int)sizeof(((struct lustre_mdt_attrs *)0)->lma_ioepoch) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_mdt_attrs *)0)->lma_ioepoch));
-        LASSERTF((int)offsetof(struct lustre_mdt_attrs, lma_som_size) == 40, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_mdt_attrs, lma_som_size));
-        LASSERTF((int)sizeof(((struct lustre_mdt_attrs *)0)->lma_som_size) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_mdt_attrs *)0)->lma_som_size));
-        LASSERTF((int)offsetof(struct lustre_mdt_attrs, lma_som_blocks) == 48, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_mdt_attrs, lma_som_blocks));
-        LASSERTF((int)sizeof(((struct lustre_mdt_attrs *)0)->lma_som_blocks) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_mdt_attrs *)0)->lma_som_blocks));
-        LASSERTF((int)offsetof(struct lustre_mdt_attrs, lma_som_mountid) == 56, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_mdt_attrs, lma_som_mountid));
-        LASSERTF((int)sizeof(((struct lustre_mdt_attrs *)0)->lma_som_mountid) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_mdt_attrs *)0)->lma_som_mountid));
-
-        /* Checks for struct lu_dirent */
-        LASSERTF((int)sizeof(struct lu_dirent) == 32, " found %lld\n",
-                 (long long)(int)sizeof(struct lu_dirent));
-        LASSERTF((int)offsetof(struct lu_dirent, lde_fid) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_dirent, lde_fid));
-        LASSERTF((int)sizeof(((struct lu_dirent *)0)->lde_fid) == 16, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_dirent *)0)->lde_fid));
-        LASSERTF((int)offsetof(struct lu_dirent, lde_hash) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_dirent, lde_hash));
-        LASSERTF((int)sizeof(((struct lu_dirent *)0)->lde_hash) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_dirent *)0)->lde_hash));
-        LASSERTF((int)offsetof(struct lu_dirent, lde_reclen) == 24, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_dirent, lde_reclen));
-        LASSERTF((int)sizeof(((struct lu_dirent *)0)->lde_reclen) == 2, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_dirent *)0)->lde_reclen));
-        LASSERTF((int)offsetof(struct lu_dirent, lde_namelen) == 26, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_dirent, lde_namelen));
-        LASSERTF((int)sizeof(((struct lu_dirent *)0)->lde_namelen) == 2, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_dirent *)0)->lde_namelen));
-        LASSERTF((int)offsetof(struct lu_dirent, lde_attrs) == 28, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_dirent, lde_attrs));
-        LASSERTF((int)sizeof(((struct lu_dirent *)0)->lde_attrs) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_dirent *)0)->lde_attrs));
-        LASSERTF((int)offsetof(struct lu_dirent, lde_name[0]) == 32, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_dirent, lde_name[0]));
-        LASSERTF((int)sizeof(((struct lu_dirent *)0)->lde_name[0]) == 1, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_dirent *)0)->lde_name[0]));
-
-        /* Checks for struct luda_type */
-        LASSERTF((int)sizeof(struct luda_type) == 2, " found %lld\n",
-                 (long long)(int)sizeof(struct luda_type));
-        LASSERTF((int)offsetof(struct luda_type, lt_type) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct luda_type, lt_type));
-        LASSERTF((int)sizeof(((struct luda_type *)0)->lt_type) == 2, " found %lld\n",
-                 (long long)(int)sizeof(((struct luda_type *)0)->lt_type));
-
-        /* Checks for struct lu_dirpage */
-        LASSERTF((int)sizeof(struct lu_dirpage) == 24, " found %lld\n",
-                 (long long)(int)sizeof(struct lu_dirpage));
-        LASSERTF((int)offsetof(struct lu_dirpage, ldp_hash_start) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_dirpage, ldp_hash_start));
-        LASSERTF((int)sizeof(((struct lu_dirpage *)0)->ldp_hash_start) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_dirpage *)0)->ldp_hash_start));
-        LASSERTF((int)offsetof(struct lu_dirpage, ldp_hash_end) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_dirpage, ldp_hash_end));
-        LASSERTF((int)sizeof(((struct lu_dirpage *)0)->ldp_hash_end) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_dirpage *)0)->ldp_hash_end));
-        LASSERTF((int)offsetof(struct lu_dirpage, ldp_flags) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_dirpage, ldp_flags));
-        LASSERTF((int)sizeof(((struct lu_dirpage *)0)->ldp_flags) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_dirpage *)0)->ldp_flags));
-        LASSERTF((int)offsetof(struct lu_dirpage, ldp_pad0) == 20, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_dirpage, ldp_pad0));
-        LASSERTF((int)sizeof(((struct lu_dirpage *)0)->ldp_pad0) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_dirpage *)0)->ldp_pad0));
-        LASSERTF((int)offsetof(struct lu_dirpage, ldp_entries[0]) == 24, " found %lld\n",
-                 (long long)(int)offsetof(struct lu_dirpage, ldp_entries[0]));
-        LASSERTF((int)sizeof(((struct lu_dirpage *)0)->ldp_entries[0]) == 32, " found %lld\n",
-                 (long long)(int)sizeof(((struct lu_dirpage *)0)->ldp_entries[0]));
-
         /* Checks for struct lustre_handle */
         LASSERTF((int)sizeof(struct lustre_handle) == 8, " found %lld\n",
                  (long long)(int)sizeof(struct lustre_handle));
@@ -778,6 +662,7 @@ void lustre_assert_wire_constants(void)
         CLASSERT(OBD_FL_CKSUM_ADLER == 8192);
         CLASSERT(OBD_FL_SHRINK_GRANT == 131072);
         CLASSERT(OBD_FL_MMAP == (0x00040000));
+        CLASSERT(OBD_FL_RECOV_RESEND == (0x00080000));
         CLASSERT(OBD_CKSUM_CRC32 == 1);
         CLASSERT(OBD_CKSUM_ADLER == 2);
 
@@ -1129,22 +1014,6 @@ void lustre_assert_wire_constants(void)
         LASSERTF((int)sizeof(((struct ost_body *)0)->oa) == 208, " found %lld\n",
                  (long long)(int)sizeof(((struct ost_body *)0)->oa));
 
-        /* Checks for struct ll_fiemap_info_key */
-        LASSERTF((int)sizeof(struct ll_fiemap_info_key) == 248, " found %lld\n",
-                 (long long)(int)sizeof(struct ll_fiemap_info_key));
-        LASSERTF((int)offsetof(struct ll_fiemap_info_key, name[0]) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct ll_fiemap_info_key, name[0]));
-        LASSERTF((int)sizeof(((struct ll_fiemap_info_key *)0)->name[0]) == 1, " found %lld\n",
-                 (long long)(int)sizeof(((struct ll_fiemap_info_key *)0)->name[0]));
-        LASSERTF((int)offsetof(struct ll_fiemap_info_key, oa) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct ll_fiemap_info_key, oa));
-        LASSERTF((int)sizeof(((struct ll_fiemap_info_key *)0)->oa) == 208, " found %lld\n",
-                 (long long)(int)sizeof(((struct ll_fiemap_info_key *)0)->oa));
-        LASSERTF((int)offsetof(struct ll_fiemap_info_key, fiemap) == 216, " found %lld\n",
-                 (long long)(int)offsetof(struct ll_fiemap_info_key, fiemap));
-        LASSERTF((int)sizeof(((struct ll_fiemap_info_key *)0)->fiemap) == 32, " found %lld\n",
-                 (long long)(int)sizeof(((struct ll_fiemap_info_key *)0)->fiemap));
-
         /* Checks for struct ll_fid */
         LASSERTF((int)sizeof(struct ll_fid) == 16, " found %lld\n",
                  (long long)(int)sizeof(struct ll_fid));
@@ -1310,162 +1179,6 @@ void lustre_assert_wire_constants(void)
         CLASSERT(MDS_INODELOCK_UPDATE == 0x000002);
         CLASSERT(MDS_INODELOCK_OPEN == 0x000004);
 
-        /* Checks for struct mdt_body */
-        LASSERTF((int)sizeof(struct mdt_body) == 216, " found %lld\n",
-                 (long long)(int)sizeof(struct mdt_body));
-        LASSERTF((int)offsetof(struct mdt_body, fid1) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, fid1));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->fid1) == 16, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->fid1));
-        LASSERTF((int)offsetof(struct mdt_body, fid2) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, fid2));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->fid2) == 16, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->fid2));
-        LASSERTF((int)offsetof(struct mdt_body, handle) == 32, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, handle));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->handle) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->handle));
-        LASSERTF((int)offsetof(struct mdt_body, valid) == 40, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, valid));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->valid) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->valid));
-        LASSERTF((int)offsetof(struct mdt_body, size) == 48, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, size));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->size) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->size));
-        LASSERTF((int)offsetof(struct mdt_body, mtime) == 56, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, mtime));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->mtime) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->mtime));
-        LASSERTF((int)offsetof(struct mdt_body, atime) == 64, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, atime));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->atime) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->atime));
-        LASSERTF((int)offsetof(struct mdt_body, ctime) == 72, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, ctime));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->ctime) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->ctime));
-        LASSERTF((int)offsetof(struct mdt_body, blocks) == 80, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, blocks));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->blocks) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->blocks));
-        LASSERTF((int)offsetof(struct mdt_body, ioepoch) == 88, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, ioepoch));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->ioepoch) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->ioepoch));
-        LASSERTF((int)offsetof(struct mdt_body, ino) == 96, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, ino));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->ino) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->ino));
-        LASSERTF((int)offsetof(struct mdt_body, fsuid) == 104, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, fsuid));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->fsuid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->fsuid));
-        LASSERTF((int)offsetof(struct mdt_body, fsgid) == 108, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, fsgid));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->fsgid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->fsgid));
-        LASSERTF((int)offsetof(struct mdt_body, capability) == 112, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, capability));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->capability) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->capability));
-        LASSERTF((int)offsetof(struct mdt_body, mode) == 116, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, mode));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->mode) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->mode));
-        LASSERTF((int)offsetof(struct mdt_body, uid) == 120, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, uid));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->uid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->uid));
-        LASSERTF((int)offsetof(struct mdt_body, gid) == 124, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, gid));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->gid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->gid));
-        LASSERTF((int)offsetof(struct mdt_body, flags) == 128, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, flags));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->flags) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->flags));
-        LASSERTF((int)offsetof(struct mdt_body, rdev) == 132, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, rdev));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->rdev) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->rdev));
-        LASSERTF((int)offsetof(struct mdt_body, nlink) == 136, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, nlink));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->nlink) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->nlink));
-        LASSERTF((int)offsetof(struct mdt_body, generation) == 140, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, generation));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->generation) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->generation));
-        LASSERTF((int)offsetof(struct mdt_body, suppgid) == 144, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, suppgid));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->suppgid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->suppgid));
-        LASSERTF((int)offsetof(struct mdt_body, eadatasize) == 148, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, eadatasize));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->eadatasize) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->eadatasize));
-        LASSERTF((int)offsetof(struct mdt_body, aclsize) == 152, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, aclsize));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->aclsize) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->aclsize));
-        LASSERTF((int)offsetof(struct mdt_body, max_mdsize) == 156, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, max_mdsize));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->max_mdsize) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->max_mdsize));
-        LASSERTF((int)offsetof(struct mdt_body, max_cookiesize) == 160, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, max_cookiesize));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->max_cookiesize) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->max_cookiesize));
-        LASSERTF((int)offsetof(struct mdt_body, padding_4) == 164, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, padding_4));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->padding_4) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->padding_4));
-        LASSERTF((int)offsetof(struct mdt_body, padding_5) == 168, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, padding_5));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->padding_5) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->padding_5));
-        LASSERTF((int)offsetof(struct mdt_body, padding_6) == 176, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, padding_6));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->padding_6) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->padding_6));
-        LASSERTF((int)offsetof(struct mdt_body, padding_7) == 184, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, padding_7));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->padding_7) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->padding_7));
-        LASSERTF((int)offsetof(struct mdt_body, padding_8) == 192, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, padding_8));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->padding_8) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->padding_8));
-        LASSERTF((int)offsetof(struct mdt_body, padding_9) == 200, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, padding_9));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->padding_9) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->padding_9));
-        LASSERTF((int)offsetof(struct mdt_body, padding_10) == 208, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_body, padding_10));
-        LASSERTF((int)sizeof(((struct mdt_body *)0)->padding_10) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_body *)0)->padding_10));
-
-        /* Checks for struct mdt_ioepoch */
-        LASSERTF((int)sizeof(struct mdt_ioepoch) == 24, " found %lld\n",
-                 (long long)(int)sizeof(struct mdt_ioepoch));
-        LASSERTF((int)offsetof(struct mdt_ioepoch, handle) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_ioepoch, handle));
-        LASSERTF((int)sizeof(((struct mdt_ioepoch *)0)->handle) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_ioepoch *)0)->handle));
-        LASSERTF((int)offsetof(struct mdt_ioepoch, ioepoch) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_ioepoch, ioepoch));
-        LASSERTF((int)sizeof(((struct mdt_ioepoch *)0)->ioepoch) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_ioepoch *)0)->ioepoch));
-        LASSERTF((int)offsetof(struct mdt_ioepoch, flags) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_ioepoch, flags));
-        LASSERTF((int)sizeof(((struct mdt_ioepoch *)0)->flags) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_ioepoch *)0)->flags));
-        LASSERTF((int)offsetof(struct mdt_ioepoch, padding) == 20, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_ioepoch, padding));
-        LASSERTF((int)sizeof(((struct mdt_ioepoch *)0)->padding) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_ioepoch *)0)->padding));
-
         /* Checks for struct mdt_rec_setattr */
         LASSERTF((int)sizeof(struct mdt_rec_setattr) == 136, " found %lld\n",
                  (long long)(int)sizeof(struct mdt_rec_setattr));
@@ -1649,14 +1362,14 @@ void lustre_assert_wire_constants(void)
                  (long long)(int)offsetof(struct mdt_rec_create, cr_bias));
         LASSERTF((int)sizeof(((struct mdt_rec_create *)0)->cr_bias) == 4, " found %lld\n",
                  (long long)(int)sizeof(((struct mdt_rec_create *)0)->cr_bias));
-        LASSERTF((int)offsetof(struct mdt_rec_create, cr_flags) == 120, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_create, cr_flags));
-        LASSERTF((int)sizeof(((struct mdt_rec_create *)0)->cr_flags) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_create *)0)->cr_flags));
-        LASSERTF((int)offsetof(struct mdt_rec_create, cr_padding_2) == 124, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_create, cr_padding_2));
-        LASSERTF((int)sizeof(((struct mdt_rec_create *)0)->cr_padding_2) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_create *)0)->cr_padding_2));
+        LASSERTF((int)offsetof(struct mdt_rec_create, cr_flags_l) == 120, " found %lld\n",
+                 (long long)(int)offsetof(struct mdt_rec_create, cr_flags_l));
+        LASSERTF((int)sizeof(((struct mdt_rec_create *)0)->cr_flags_l) == 4, " found %lld\n",
+                 (long long)(int)sizeof(((struct mdt_rec_create *)0)->cr_flags_l));
+        LASSERTF((int)offsetof(struct mdt_rec_create, cr_flags_h) == 124, " found %lld\n",
+                 (long long)(int)offsetof(struct mdt_rec_create, cr_flags_h));
+        LASSERTF((int)sizeof(((struct mdt_rec_create *)0)->cr_flags_h) == 4, " found %lld\n",
+                 (long long)(int)sizeof(((struct mdt_rec_create *)0)->cr_flags_h));
         LASSERTF((int)offsetof(struct mdt_rec_create, cr_padding_3) == 128, " found %lld\n",
                  (long long)(int)offsetof(struct mdt_rec_create, cr_padding_3));
         LASSERTF((int)sizeof(((struct mdt_rec_create *)0)->cr_padding_3) == 4, " found %lld\n",
@@ -2484,18 +2197,6 @@ void lustre_assert_wire_constants(void)
         LASSERTF((int)sizeof(((struct llog_size_change_rec *)0)->lsc_tail) == 8, " found %lld\n",
                  (long long)(int)sizeof(((struct llog_size_change_rec *)0)->lsc_tail));
 
-        /* Checks for struct changelog_setinfo */
-        LASSERTF((int)sizeof(struct changelog_setinfo) == 12, " found %lld\n",
-                 (long long)(int)sizeof(struct changelog_setinfo));
-        LASSERTF((int)offsetof(struct changelog_setinfo, cs_recno) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct changelog_setinfo, cs_recno));
-        LASSERTF((int)sizeof(((struct changelog_setinfo *)0)->cs_recno) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct changelog_setinfo *)0)->cs_recno));
-        LASSERTF((int)offsetof(struct changelog_setinfo, cs_id) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct changelog_setinfo, cs_id));
-        LASSERTF((int)sizeof(((struct changelog_setinfo *)0)->cs_id) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct changelog_setinfo *)0)->cs_id));
-
         /* Checks for struct changelog_rec */
         LASSERTF((int)sizeof(struct changelog_rec) == 64, " found %lld\n",
                  (long long)(int)sizeof(struct changelog_rec));
@@ -2548,30 +2249,6 @@ void lustre_assert_wire_constants(void)
         LASSERTF((int)sizeof(((struct llog_changelog_rec *)0)->cr_tail) == 8, " found %lld\n",
                  (long long)(int)sizeof(((struct llog_changelog_rec *)0)->cr_tail));
 
-        /* Checks for struct llog_changelog_user_rec */
-        LASSERTF((int)sizeof(struct llog_changelog_user_rec) == 40, " found %lld\n",
-                 (long long)(int)sizeof(struct llog_changelog_user_rec));
-        LASSERTF((int)offsetof(struct llog_changelog_user_rec, cur_hdr) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct llog_changelog_user_rec, cur_hdr));
-        LASSERTF((int)sizeof(((struct llog_changelog_user_rec *)0)->cur_hdr) == 16, " found %lld\n",
-                 (long long)(int)sizeof(((struct llog_changelog_user_rec *)0)->cur_hdr));
-        LASSERTF((int)offsetof(struct llog_changelog_user_rec, cur_id) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct llog_changelog_user_rec, cur_id));
-        LASSERTF((int)sizeof(((struct llog_changelog_user_rec *)0)->cur_id) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct llog_changelog_user_rec *)0)->cur_id));
-        LASSERTF((int)offsetof(struct llog_changelog_user_rec, cur_padding) == 20, " found %lld\n",
-                 (long long)(int)offsetof(struct llog_changelog_user_rec, cur_padding));
-        LASSERTF((int)sizeof(((struct llog_changelog_user_rec *)0)->cur_padding) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct llog_changelog_user_rec *)0)->cur_padding));
-        LASSERTF((int)offsetof(struct llog_changelog_user_rec, cur_endrec) == 24, " found %lld\n",
-                 (long long)(int)offsetof(struct llog_changelog_user_rec, cur_endrec));
-        LASSERTF((int)sizeof(((struct llog_changelog_user_rec *)0)->cur_endrec) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct llog_changelog_user_rec *)0)->cur_endrec));
-        LASSERTF((int)offsetof(struct llog_changelog_user_rec, cur_tail) == 32, " found %lld\n",
-                 (long long)(int)offsetof(struct llog_changelog_user_rec, cur_tail));
-        LASSERTF((int)sizeof(((struct llog_changelog_user_rec *)0)->cur_tail) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct llog_changelog_user_rec *)0)->cur_tail));
-
         /* Checks for struct llog_gen */
         LASSERTF((int)sizeof(struct llog_gen) == 16, " found %lld\n",
                  (long long)(int)sizeof(struct llog_gen));
@@ -2749,66 +2426,6 @@ void lustre_assert_wire_constants(void)
         LASSERTF((int)sizeof(((struct qunit_data *)0)->padding) == 8, " found %lld\n",
                  (long long)(int)sizeof(((struct qunit_data *)0)->padding));
 
-        /* Checks for struct lustre_capa */
-        LASSERTF((int)sizeof(struct lustre_capa) == 120, " found %lld\n",
-                 (long long)(int)sizeof(struct lustre_capa));
-        LASSERTF((int)offsetof(struct lustre_capa, lc_fid) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_capa, lc_fid));
-        LASSERTF((int)sizeof(((struct lustre_capa *)0)->lc_fid) == 16, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_capa *)0)->lc_fid));
-        LASSERTF((int)offsetof(struct lustre_capa, lc_opc) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_capa, lc_opc));
-        LASSERTF((int)sizeof(((struct lustre_capa *)0)->lc_opc) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_capa *)0)->lc_opc));
-        LASSERTF((int)offsetof(struct lustre_capa, lc_uid) == 24, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_capa, lc_uid));
-        LASSERTF((int)sizeof(((struct lustre_capa *)0)->lc_uid) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_capa *)0)->lc_uid));
-        LASSERTF((int)offsetof(struct lustre_capa, lc_gid) == 32, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_capa, lc_gid));
-        LASSERTF((int)sizeof(((struct lustre_capa *)0)->lc_gid) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_capa *)0)->lc_gid));
-        LASSERTF((int)offsetof(struct lustre_capa, lc_flags) == 40, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_capa, lc_flags));
-        LASSERTF((int)sizeof(((struct lustre_capa *)0)->lc_flags) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_capa *)0)->lc_flags));
-        LASSERTF((int)offsetof(struct lustre_capa, lc_keyid) == 44, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_capa, lc_keyid));
-        LASSERTF((int)sizeof(((struct lustre_capa *)0)->lc_keyid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_capa *)0)->lc_keyid));
-        LASSERTF((int)offsetof(struct lustre_capa, lc_timeout) == 48, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_capa, lc_timeout));
-        LASSERTF((int)sizeof(((struct lustre_capa *)0)->lc_timeout) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_capa *)0)->lc_timeout));
-        LASSERTF((int)offsetof(struct lustre_capa, lc_expiry) == 52, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_capa, lc_expiry));
-        LASSERTF((int)sizeof(((struct lustre_capa *)0)->lc_expiry) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_capa *)0)->lc_expiry));
-        LASSERTF((int)offsetof(struct lustre_capa, lc_hmac[0]) == 56, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_capa, lc_hmac[0]));
-        LASSERTF((int)sizeof(((struct lustre_capa *)0)->lc_hmac[0]) == 1, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_capa *)0)->lc_hmac[0]));
-
-        /* Checks for struct lustre_capa_key */
-        LASSERTF((int)sizeof(struct lustre_capa_key) == 72, " found %lld\n",
-                 (long long)(int)sizeof(struct lustre_capa_key));
-        LASSERTF((int)offsetof(struct lustre_capa_key, lk_seq) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_capa_key, lk_seq));
-        LASSERTF((int)sizeof(((struct lustre_capa_key *)0)->lk_seq) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_capa_key *)0)->lk_seq));
-        LASSERTF((int)offsetof(struct lustre_capa_key, lk_keyid) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_capa_key, lk_keyid));
-        LASSERTF((int)sizeof(((struct lustre_capa_key *)0)->lk_keyid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_capa_key *)0)->lk_keyid));
-        LASSERTF((int)offsetof(struct lustre_capa_key, lk_padding) == 12, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_capa_key, lk_padding));
-        LASSERTF((int)sizeof(((struct lustre_capa_key *)0)->lk_padding) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_capa_key *)0)->lk_padding));
-        LASSERTF((int)offsetof(struct lustre_capa_key, lk_key[0]) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct lustre_capa_key, lk_key[0]));
-        LASSERTF((int)sizeof(((struct lustre_capa_key *)0)->lk_key[0]) == 1, " found %lld\n",
-                 (long long)(int)sizeof(((struct lustre_capa_key *)0)->lk_key[0]));
-
         /* Checks for struct quota_adjust_qunit */
         LASSERTF((int)sizeof(struct quota_adjust_qunit) == 32, " found %lld\n",
                  (long long)(int)sizeof(struct quota_adjust_qunit));
@@ -2833,354 +2450,6 @@ void lustre_assert_wire_constants(void)
         LASSERTF((int)sizeof(((struct quota_adjust_qunit *)0)->padding1) == 8, " found %lld\n",
                  (long long)(int)sizeof(((struct quota_adjust_qunit *)0)->padding1));
 
-        /* Checks for struct mds_remote_perm */
-        LASSERTF((int)sizeof(struct mds_remote_perm) == 20, " found %lld\n",
-                 (long long)(int)sizeof(struct mds_remote_perm));
-        LASSERTF((int)offsetof(struct mds_remote_perm, rp_uid) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct mds_remote_perm, rp_uid));
-        LASSERTF((int)sizeof(((struct mds_remote_perm *)0)->rp_uid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mds_remote_perm *)0)->rp_uid));
-        LASSERTF((int)offsetof(struct mds_remote_perm, rp_gid) == 4, " found %lld\n",
-                 (long long)(int)offsetof(struct mds_remote_perm, rp_gid));
-        LASSERTF((int)sizeof(((struct mds_remote_perm *)0)->rp_gid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mds_remote_perm *)0)->rp_gid));
-        LASSERTF((int)offsetof(struct mds_remote_perm, rp_fsuid) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct mds_remote_perm, rp_fsuid));
-        LASSERTF((int)sizeof(((struct mds_remote_perm *)0)->rp_fsuid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mds_remote_perm *)0)->rp_fsuid));
-        LASSERTF((int)offsetof(struct mds_remote_perm, rp_fsgid) == 12, " found %lld\n",
-                 (long long)(int)offsetof(struct mds_remote_perm, rp_fsgid));
-        LASSERTF((int)sizeof(((struct mds_remote_perm *)0)->rp_fsgid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mds_remote_perm *)0)->rp_fsgid));
-        LASSERTF((int)offsetof(struct mds_remote_perm, rp_access_perm) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct mds_remote_perm, rp_access_perm));
-        LASSERTF((int)sizeof(((struct mds_remote_perm *)0)->rp_access_perm) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mds_remote_perm *)0)->rp_access_perm));
-
-        /* Checks for struct mdt_remote_perm */
-        LASSERTF((int)sizeof(struct mdt_remote_perm) == 20, " found %lld\n",
-                 (long long)(int)sizeof(struct mdt_remote_perm));
-        LASSERTF((int)offsetof(struct mdt_remote_perm, rp_uid) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_remote_perm, rp_uid));
-        LASSERTF((int)sizeof(((struct mdt_remote_perm *)0)->rp_uid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_remote_perm *)0)->rp_uid));
-        LASSERTF((int)offsetof(struct mdt_remote_perm, rp_gid) == 4, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_remote_perm, rp_gid));
-        LASSERTF((int)sizeof(((struct mdt_remote_perm *)0)->rp_gid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_remote_perm *)0)->rp_gid));
-        LASSERTF((int)offsetof(struct mdt_remote_perm, rp_fsuid) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_remote_perm, rp_fsuid));
-        LASSERTF((int)sizeof(((struct mdt_remote_perm *)0)->rp_fsuid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_remote_perm *)0)->rp_fsuid));
-        LASSERTF((int)offsetof(struct mdt_remote_perm, rp_fsgid) == 12, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_remote_perm, rp_fsgid));
-        LASSERTF((int)sizeof(((struct mdt_remote_perm *)0)->rp_fsgid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_remote_perm *)0)->rp_fsgid));
-        LASSERTF((int)offsetof(struct mdt_remote_perm, rp_access_perm) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_remote_perm, rp_access_perm));
-        LASSERTF((int)sizeof(((struct mdt_remote_perm *)0)->rp_access_perm) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_remote_perm *)0)->rp_access_perm));
-
-        /* Checks for struct mdt_rec_setxattr */
-        LASSERTF((int)sizeof(struct mdt_rec_setxattr) == 136, " found %lld\n",
-                 (long long)(int)sizeof(struct mdt_rec_setxattr));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_opcode) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_opcode));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_opcode) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_opcode));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_cap) == 4, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_cap));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_cap) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_cap));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_fsuid) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_fsuid));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_fsuid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_fsuid));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_fsuid_h) == 12, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_fsuid_h));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_fsuid_h) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_fsuid_h));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_fsgid) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_fsgid));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_fsgid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_fsgid));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_fsgid_h) == 20, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_fsgid_h));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_fsgid_h) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_fsgid_h));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_suppgid1) == 24, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_suppgid1));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_suppgid1) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_suppgid1));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_suppgid1_h) == 28, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_suppgid1_h));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_suppgid1_h) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_suppgid1_h));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_suppgid2) == 32, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_suppgid2));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_suppgid2) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_suppgid2));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_suppgid2_h) == 36, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_suppgid2_h));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_suppgid2_h) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_suppgid2_h));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_fid) == 40, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_fid));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_fid) == 16, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_fid));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_padding_1) == 56, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_padding_1));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_1) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_1));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_padding_2) == 64, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_padding_2));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_2) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_2));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_padding_3) == 68, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_padding_3));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_3) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_3));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_valid) == 72, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_valid));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_valid) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_valid));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_time) == 80, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_time));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_time) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_time));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_padding_5) == 88, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_padding_5));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_5) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_5));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_padding_6) == 96, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_padding_6));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_6) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_6));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_padding_7) == 104, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_padding_7));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_7) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_7));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_size) == 112, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_size));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_size) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_size));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_flags) == 116, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_flags));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_flags) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_flags));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_padding_8) == 120, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_padding_8));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_8) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_8));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_padding_9) == 124, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_padding_9));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_9) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_9));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_padding_10) == 128, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_padding_10));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_10) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_10));
-        LASSERTF((int)offsetof(struct mdt_rec_setxattr, sx_padding_11) == 132, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_setxattr, sx_padding_11));
-        LASSERTF((int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_11) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_setxattr *)0)->sx_padding_11));
-
-        /* Checks for struct mdt_rec_reint */
-        LASSERTF((int)sizeof(struct mdt_rec_reint) == 136, " found %lld\n",
-                 (long long)(int)sizeof(struct mdt_rec_reint));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_opcode) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_opcode));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_opcode) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_opcode));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_cap) == 4, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_cap));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_cap) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_cap));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_fsuid) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_fsuid));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_fsuid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_fsuid));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_fsuid_h) == 12, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_fsuid_h));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_fsuid_h) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_fsuid_h));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_fsgid) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_fsgid));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_fsgid) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_fsgid));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_fsgid_h) == 20, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_fsgid_h));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_fsgid_h) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_fsgid_h));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_suppgid1) == 24, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_suppgid1));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_suppgid1) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_suppgid1));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_suppgid1_h) == 28, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_suppgid1_h));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_suppgid1_h) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_suppgid1_h));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_suppgid2) == 32, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_suppgid2));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_suppgid2) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_suppgid2));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_suppgid2_h) == 36, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_suppgid2_h));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_suppgid2_h) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_suppgid2_h));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_fid1) == 40, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_fid1));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_fid1) == 16, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_fid1));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_fid2) == 56, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_fid2));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_fid2) == 16, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_fid2));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_mtime) == 72, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_mtime));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_mtime) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_mtime));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_atime) == 80, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_atime));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_atime) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_atime));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_ctime) == 88, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_ctime));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_ctime) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_ctime));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_size) == 96, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_size));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_size) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_size));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_blocks) == 104, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_blocks));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_blocks) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_blocks));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_bias) == 112, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_bias));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_bias) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_bias));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_mode) == 116, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_mode));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_mode) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_mode));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_padding_1) == 120, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_padding_1));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_padding_1) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_padding_1));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_padding_2) == 124, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_padding_2));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_padding_2) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_padding_2));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_padding_3) == 128, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_padding_3));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_padding_3) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_padding_3));
-        LASSERTF((int)offsetof(struct mdt_rec_reint, rr_padding_4) == 132, " found %lld\n",
-                 (long long)(int)offsetof(struct mdt_rec_reint, rr_padding_4));
-        LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_padding_4) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_padding_4));
-
-        /* Checks for struct lmv_desc */
-        LASSERTF((int)sizeof(struct lmv_desc) == 88, " found %lld\n",
-                 (long long)(int)sizeof(struct lmv_desc));
-        LASSERTF((int)offsetof(struct lmv_desc, ld_tgt_count) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_desc, ld_tgt_count));
-        LASSERTF((int)sizeof(((struct lmv_desc *)0)->ld_tgt_count) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_desc *)0)->ld_tgt_count));
-        LASSERTF((int)offsetof(struct lmv_desc, ld_active_tgt_count) == 4, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_desc, ld_active_tgt_count));
-        LASSERTF((int)sizeof(((struct lmv_desc *)0)->ld_active_tgt_count) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_desc *)0)->ld_active_tgt_count));
-        LASSERTF((int)offsetof(struct lmv_desc, ld_default_stripe_count) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_desc, ld_default_stripe_count));
-        LASSERTF((int)sizeof(((struct lmv_desc *)0)->ld_default_stripe_count) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_desc *)0)->ld_default_stripe_count));
-        LASSERTF((int)offsetof(struct lmv_desc, ld_pattern) == 12, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_desc, ld_pattern));
-        LASSERTF((int)sizeof(((struct lmv_desc *)0)->ld_pattern) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_desc *)0)->ld_pattern));
-        LASSERTF((int)offsetof(struct lmv_desc, ld_default_hash_size) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_desc, ld_default_hash_size));
-        LASSERTF((int)sizeof(((struct lmv_desc *)0)->ld_default_hash_size) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_desc *)0)->ld_default_hash_size));
-        LASSERTF((int)offsetof(struct lmv_desc, ld_padding_1) == 24, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_desc, ld_padding_1));
-        LASSERTF((int)sizeof(((struct lmv_desc *)0)->ld_padding_1) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_desc *)0)->ld_padding_1));
-        LASSERTF((int)offsetof(struct lmv_desc, ld_padding_2) == 32, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_desc, ld_padding_2));
-        LASSERTF((int)sizeof(((struct lmv_desc *)0)->ld_padding_2) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_desc *)0)->ld_padding_2));
-        LASSERTF((int)offsetof(struct lmv_desc, ld_qos_maxage) == 36, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_desc, ld_qos_maxage));
-        LASSERTF((int)sizeof(((struct lmv_desc *)0)->ld_qos_maxage) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_desc *)0)->ld_qos_maxage));
-        LASSERTF((int)offsetof(struct lmv_desc, ld_padding_3) == 40, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_desc, ld_padding_3));
-        LASSERTF((int)sizeof(((struct lmv_desc *)0)->ld_padding_3) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_desc *)0)->ld_padding_3));
-        LASSERTF((int)offsetof(struct lmv_desc, ld_padding_4) == 44, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_desc, ld_padding_4));
-        LASSERTF((int)sizeof(((struct lmv_desc *)0)->ld_padding_4) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_desc *)0)->ld_padding_4));
-        LASSERTF((int)offsetof(struct lmv_desc, ld_uuid) == 48, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_desc, ld_uuid));
-        LASSERTF((int)sizeof(((struct lmv_desc *)0)->ld_uuid) == 40, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_desc *)0)->ld_uuid));
-
-        /* Checks for struct lmv_stripe_md */
-        LASSERTF((int)sizeof(struct lmv_stripe_md) == 32, " found %lld\n",
-                 (long long)(int)sizeof(struct lmv_stripe_md));
-        LASSERTF((int)offsetof(struct lmv_stripe_md, mea_magic) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_stripe_md, mea_magic));
-        LASSERTF((int)sizeof(((struct lmv_stripe_md *)0)->mea_magic) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_stripe_md *)0)->mea_magic));
-        LASSERTF((int)offsetof(struct lmv_stripe_md, mea_count) == 4, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_stripe_md, mea_count));
-        LASSERTF((int)sizeof(((struct lmv_stripe_md *)0)->mea_count) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_stripe_md *)0)->mea_count));
-        LASSERTF((int)offsetof(struct lmv_stripe_md, mea_master) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_stripe_md, mea_master));
-        LASSERTF((int)sizeof(((struct lmv_stripe_md *)0)->mea_master) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_stripe_md *)0)->mea_master));
-        LASSERTF((int)offsetof(struct lmv_stripe_md, mea_padding) == 12, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_stripe_md, mea_padding));
-        LASSERTF((int)sizeof(((struct lmv_stripe_md *)0)->mea_padding) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_stripe_md *)0)->mea_padding));
-        LASSERTF((int)offsetof(struct lmv_stripe_md, mea_pool_name[0]) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_stripe_md, mea_pool_name[0]));
-        LASSERTF((int)sizeof(((struct lmv_stripe_md *)0)->mea_pool_name[0]) == 1, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_stripe_md *)0)->mea_pool_name[0]));
-        LASSERTF((int)offsetof(struct lmv_stripe_md, mea_ids[0]) == 32, " found %lld\n",
-                 (long long)(int)offsetof(struct lmv_stripe_md, mea_ids[0]));
-        LASSERTF((int)sizeof(((struct lmv_stripe_md *)0)->mea_ids[0]) == 16, " found %lld\n",
-                 (long long)(int)sizeof(((struct lmv_stripe_md *)0)->mea_ids[0]));
-
-        /* Checks for struct md_fld */
-        LASSERTF((int)sizeof(struct md_fld) == 16, " found %lld\n",
-                 (long long)(int)sizeof(struct md_fld));
-        LASSERTF((int)offsetof(struct md_fld, mf_seq) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct md_fld, mf_seq));
-        LASSERTF((int)sizeof(((struct md_fld *)0)->mf_seq) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct md_fld *)0)->mf_seq));
-        LASSERTF((int)offsetof(struct md_fld, mf_mds) == 8, " found %lld\n",
-                 (long long)(int)offsetof(struct md_fld, mf_mds));
-        LASSERTF((int)sizeof(((struct md_fld *)0)->mf_mds) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct md_fld *)0)->mf_mds));
-
-        /* Checks for struct mgs_send_param */
-        LASSERTF((int)sizeof(struct mgs_send_param) == 1024, " found %lld\n",
-                 (long long)(int)sizeof(struct mgs_send_param));
-        LASSERTF((int)offsetof(struct mgs_send_param, mgs_param[0]) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct mgs_send_param, mgs_param[0]));
-        LASSERTF((int)sizeof(((struct mgs_send_param *)0)->mgs_param[0]) == 1, " found %lld\n",
-                 (long long)(int)sizeof(((struct mgs_send_param *)0)->mgs_param[0]));
-        LASSERTF((int)offsetof(struct mgs_send_param, mgs_param[1024 - 1]) == 1023, " found %lld\n",
-                 (long long)(int)offsetof(struct mgs_send_param, mgs_param[1024 - 1]));
-        LASSERTF((int)sizeof(((struct mgs_send_param *)0)->mgs_param[1024 - 1]) == 1, " found %lld\n",
-                 (long long)(int)sizeof(((struct mgs_send_param *)0)->mgs_param[1024 - 1]));
-
         /* Checks for struct mgs_target_info */
         LASSERTF((int)sizeof(struct mgs_target_info) == 4544, " found %lld\n",
                  (long long)(int)sizeof(struct mgs_target_info));
@@ -3425,29 +2694,5 @@ void lustre_assert_wire_constants(void)
                  (long long)(int)offsetof(struct link_ea_entry, lee_name));
         LASSERTF((int)sizeof(((struct link_ea_entry *)0)->lee_name) == 0, " found %lld\n",
                  (long long)(int)sizeof(((struct link_ea_entry *)0)->lee_name));
-
-        /* Checks for struct getinfo_fid2path */
-        LASSERTF((int)sizeof(struct getinfo_fid2path) == 32, " found %lld\n",
-                 (long long)(int)sizeof(struct getinfo_fid2path));
-        LASSERTF((int)offsetof(struct getinfo_fid2path, gf_fid) == 0, " found %lld\n",
-                 (long long)(int)offsetof(struct getinfo_fid2path, gf_fid));
-        LASSERTF((int)sizeof(((struct getinfo_fid2path *)0)->gf_fid) == 16, " found %lld\n",
-                 (long long)(int)sizeof(((struct getinfo_fid2path *)0)->gf_fid));
-        LASSERTF((int)offsetof(struct getinfo_fid2path, gf_recno) == 16, " found %lld\n",
-                 (long long)(int)offsetof(struct getinfo_fid2path, gf_recno));
-        LASSERTF((int)sizeof(((struct getinfo_fid2path *)0)->gf_recno) == 8, " found %lld\n",
-                 (long long)(int)sizeof(((struct getinfo_fid2path *)0)->gf_recno));
-        LASSERTF((int)offsetof(struct getinfo_fid2path, gf_linkno) == 24, " found %lld\n",
-                 (long long)(int)offsetof(struct getinfo_fid2path, gf_linkno));
-        LASSERTF((int)sizeof(((struct getinfo_fid2path *)0)->gf_linkno) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct getinfo_fid2path *)0)->gf_linkno));
-        LASSERTF((int)offsetof(struct getinfo_fid2path, gf_pathlen) == 28, " found %lld\n",
-                 (long long)(int)offsetof(struct getinfo_fid2path, gf_pathlen));
-        LASSERTF((int)sizeof(((struct getinfo_fid2path *)0)->gf_pathlen) == 4, " found %lld\n",
-                 (long long)(int)sizeof(((struct getinfo_fid2path *)0)->gf_pathlen));
-        LASSERTF((int)offsetof(struct getinfo_fid2path, gf_path[0]) == 32, " found %lld\n",
-                 (long long)(int)offsetof(struct getinfo_fid2path, gf_path[0]));
-        LASSERTF((int)sizeof(((struct getinfo_fid2path *)0)->gf_path[0]) == 1, " found %lld\n",
-                 (long long)(int)sizeof(((struct getinfo_fid2path *)0)->gf_path[0]));
 }