#define DEBUG_SUBSYSTEM S_RPC
-#ifdef CONFIG_FS_POSIX_ACL
+#ifdef CONFIG_LUSTRE_FS_POSIX_ACL
# include <linux/fs.h>
# include <linux/posix_acl_xattr.h>
-#endif /* CONFIG_FS_POSIX_ACL */
+#endif /* CONFIG_LUSTRE_FS_POSIX_ACL */
#include <obd_support.h>
#include <obd_class.h>
#include <lustre_net.h>
#include <lustre_disk.h>
#include <uapi/linux/lustre/lustre_lfsck_user.h>
+#include <uapi/linux/lustre/lustre_cfg.h>
void lustre_assert_wire_constants(void)
(long long)MDS_HSM_CT_UNREGISTER);
LASSERTF(MDS_SWAP_LAYOUTS == 61, "found %lld\n",
(long long)MDS_SWAP_LAYOUTS);
- LASSERTF(MDS_LAST_OPC == 62, "found %lld\n",
+ LASSERTF(MDS_RMFID == 62, "found %lld\n",
+ (long long)MDS_RMFID);
+ LASSERTF(MDS_LAST_OPC == 63, "found %lld\n",
(long long)MDS_LAST_OPC);
LASSERTF(REINT_SETATTR == 1, "found %lld\n",
(long long)REINT_SETATTR);
(long long)MDS_ATTR_LSIZE);
LASSERTF(MDS_ATTR_LBLOCKS == 0x0000000000040000ULL, "found 0x%.16llxULL\n",
(long long)MDS_ATTR_LBLOCKS);
+ LASSERTF(MDS_ATTR_OVERRIDE == 0x0000000002000000ULL, "found 0x%.16llxULL\n",
+ (long long)MDS_ATTR_OVERRIDE);
LASSERTF(FLD_QUERY == 900, "found %lld\n",
(long long)FLD_QUERY);
LASSERTF(FLD_READ == 901, "found %lld\n",
OBD_CONNECT2_LOCKAHEAD);
LASSERTF(OBD_CONNECT2_DIR_MIGRATE == 0x4ULL, "found 0x%.16llxULL\n",
OBD_CONNECT2_DIR_MIGRATE);
+ LASSERTF(OBD_CONNECT2_SUM_STATFS == 0x8ULL, "found 0x%.16llxULL\n",
+ OBD_CONNECT2_SUM_STATFS);
+ LASSERTF(OBD_CONNECT2_OVERSTRIPING == 0x10ULL, "found 0x%.16llxULL\n",
+ OBD_CONNECT2_OVERSTRIPING);
LASSERTF(OBD_CONNECT2_FLR == 0x20ULL, "found 0x%.16llxULL\n",
OBD_CONNECT2_FLR);
LASSERTF(OBD_CONNECT2_WBC_INTENTS == 0x40ULL, "found 0x%.16llxULL\n",
OBD_CONNECT2_LOCK_CONVERT);
LASSERTF(OBD_CONNECT2_ARCHIVE_ID_ARRAY == 0x100ULL, "found 0x%.16llxULL\n",
OBD_CONNECT2_ARCHIVE_ID_ARRAY);
+ LASSERTF(OBD_CONNECT2_INC_XID == 0x200ULL, "found 0x%.16llxULL\n",
+ OBD_CONNECT2_INC_XID);
+ LASSERTF(OBD_CONNECT2_SELINUX_POLICY == 0x400ULL, "found 0x%.16llxULL\n",
+ OBD_CONNECT2_SELINUX_POLICY);
+ LASSERTF(OBD_CONNECT2_LSOM == 0x800ULL, "found 0x%.16llxULL\n",
+ OBD_CONNECT2_LSOM);
+ LASSERTF(OBD_CONNECT2_PCC == 0x1000ULL, "found 0x%.16llxULL\n",
+ OBD_CONNECT2_PCC);
+ LASSERTF(OBD_CONNECT2_ASYNC_DISCARD == 0x4000ULL, "found 0x%.16llxULL\n",
+ OBD_CONNECT2_ASYNC_DISCARD);
+ LASSERTF(OBD_CONNECT2_ENCRYPT == 0x8000ULL, "found 0x%.16llxULL\n",
+ OBD_CONNECT2_ENCRYPT);
LASSERTF(OBD_CKSUM_CRC32 == 0x00000001UL, "found 0x%.8xUL\n",
(unsigned)OBD_CKSUM_CRC32);
LASSERTF(OBD_CKSUM_ADLER == 0x00000002UL, "found 0x%.8xUL\n",
(unsigned)LOV_PATTERN_RAID1);
LASSERTF(LOV_PATTERN_MDT == 0x00000100UL, "found 0x%.8xUL\n",
(unsigned)LOV_PATTERN_MDT);
- LASSERTF(LOV_PATTERN_CMOBD == 0x00000200UL, "found 0x%.8xUL\n",
- (unsigned)LOV_PATTERN_CMOBD);
+ LASSERTF(LOV_PATTERN_OVERSTRIPING == 0x00000200UL, "found 0x%.8xUL\n",
+ (unsigned)LOV_PATTERN_OVERSTRIPING);
/* Checks for struct lov_comp_md_entry_v1 */
LASSERTF((int)sizeof(struct lov_comp_md_entry_v1) == 48, "found %lld\n",
(long long)(int)offsetof(struct lov_comp_md_entry_v1, lcme_layout_gen));
LASSERTF((int)sizeof(((struct lov_comp_md_entry_v1 *)0)->lcme_layout_gen) == 4, "found %lld\n",
(long long)(int)sizeof(((struct lov_comp_md_entry_v1 *)0)->lcme_layout_gen));
- LASSERTF((int)offsetof(struct lov_comp_md_entry_v1, lcme_padding_1) == 36, "found %lld\n",
+ LASSERTF((int)offsetof(struct lov_comp_md_entry_v1, lcme_timestamp) == 36, "found %lld\n",
+ (long long)(int)offsetof(struct lov_comp_md_entry_v1, lcme_timestamp));
+ LASSERTF((int)sizeof(((struct lov_comp_md_entry_v1 *)0)->lcme_timestamp) == 8, "found %lld\n",
+ (long long)(int)sizeof(((struct lov_comp_md_entry_v1 *)0)->lcme_timestamp));
+ LASSERTF((int)offsetof(struct lov_comp_md_entry_v1, lcme_padding_1) == 44, "found %lld\n",
(long long)(int)offsetof(struct lov_comp_md_entry_v1, lcme_padding_1));
LASSERTF((int)sizeof(((struct lov_comp_md_entry_v1 *)0)->lcme_padding_1) == 4, "found %lld\n",
(long long)(int)sizeof(((struct lov_comp_md_entry_v1 *)0)->lcme_padding_1));
- LASSERTF((int)offsetof(struct lov_comp_md_entry_v1, lcme_padding_2) == 40, "found %lld\n",
- (long long)(int)offsetof(struct lov_comp_md_entry_v1, lcme_padding_2));
- LASSERTF((int)sizeof(((struct lov_comp_md_entry_v1 *)0)->lcme_padding_2) == 8, "found %lld\n",
- (long long)(int)sizeof(((struct lov_comp_md_entry_v1 *)0)->lcme_padding_2));
LASSERTF(LCME_FL_INIT == 0x00000010UL, "found 0x%.8xUL\n",
(unsigned)LCME_FL_INIT);
LASSERTF(LCME_FL_NEG == 0x80000000UL, "found 0x%.8xUL\n",
CLASSERT(LMV_MAGIC_V1 == 0x0CD20CD0);
CLASSERT(LMV_MAGIC_STRIPE == 0x0CD40CD0);
CLASSERT(LMV_HASH_TYPE_MASK == 0x0000ffff);
- CLASSERT(LMV_HASH_FLAG_MIGRATION == 0x80000000);
- CLASSERT(LMV_HASH_FLAG_DEAD == 0x40000000);
- CLASSERT(LMV_HASH_FLAG_BAD_TYPE == 0x20000000);
CLASSERT(LMV_HASH_FLAG_LOST_LMV == 0x10000000);
+ CLASSERT(LMV_HASH_FLAG_BAD_TYPE == 0x20000000);
+ CLASSERT(LMV_HASH_FLAG_MIGRATION == 0x80000000);
/* Checks for struct obd_statfs */
LASSERTF((int)sizeof(struct obd_statfs) == 144, "found %lld\n",
(long long)(int)offsetof(struct obd_statfs, os_bavail));
LASSERTF((int)sizeof(((struct obd_statfs *)0)->os_bavail) == 8, "found %lld\n",
(long long)(int)sizeof(((struct obd_statfs *)0)->os_bavail));
+ LASSERTF((int)offsetof(struct obd_statfs, os_files) == 32, "found %lld\n",
+ (long long)(int)offsetof(struct obd_statfs, os_files));
+ LASSERTF((int)sizeof(((struct obd_statfs *)0)->os_files) == 8, "found %lld\n",
+ (long long)(int)sizeof(((struct obd_statfs *)0)->os_files));
LASSERTF((int)offsetof(struct obd_statfs, os_ffree) == 40, "found %lld\n",
(long long)(int)offsetof(struct obd_statfs, os_ffree));
LASSERTF((int)sizeof(((struct obd_statfs *)0)->os_ffree) == 8, "found %lld\n",
(long long)(int)offsetof(struct obd_statfs, os_namelen));
LASSERTF((int)sizeof(((struct obd_statfs *)0)->os_namelen) == 4, "found %lld\n",
(long long)(int)sizeof(((struct obd_statfs *)0)->os_namelen));
+ LASSERTF((int)offsetof(struct obd_statfs, os_maxbytes) == 96, "found %lld\n",
+ (long long)(int)offsetof(struct obd_statfs, os_maxbytes));
+ LASSERTF((int)sizeof(((struct obd_statfs *)0)->os_maxbytes) == 8, "found %lld\n",
+ (long long)(int)sizeof(((struct obd_statfs *)0)->os_maxbytes));
LASSERTF((int)offsetof(struct obd_statfs, os_state) == 104, "found %lld\n",
(long long)(int)offsetof(struct obd_statfs, os_state));
LASSERTF((int)sizeof(((struct obd_statfs *)0)->os_state) == 4, "found %lld\n",
(long long)(int)offsetof(struct obd_statfs, os_spare9));
LASSERTF((int)sizeof(((struct obd_statfs *)0)->os_spare9) == 4, "found %lld\n",
(long long)(int)sizeof(((struct obd_statfs *)0)->os_spare9));
+ LASSERTF(OS_STATE_DEGRADED == 0x1, "found %lld\n",
+ (long long)OS_STATE_DEGRADED);
+ LASSERTF(OS_STATE_READONLY == 0x2, "found %lld\n",
+ (long long)OS_STATE_READONLY);
+ LASSERTF(OS_STATE_NOPRECREATE == 0x4, "found %lld\n",
+ (long long)OS_STATE_NOPRECREATE);
+ LASSERTF(OS_STATE_ENOSPC == 0x20, "found %lld\n",
+ (long long)OS_STATE_ENOSPC);
+ LASSERTF(OS_STATE_ENOINO == 0x40, "found %lld\n",
+ (long long)OS_STATE_ENOINO);
+ LASSERTF(OS_STATE_SUM == 0x100, "found %lld\n",
+ (long long)OS_STATE_SUM);
+ LASSERTF(OS_STATE_NONROT == 0x200, "found %lld\n",
+ (long long)OS_STATE_NONROT);
/* Checks for struct obd_ioobj */
LASSERTF((int)sizeof(struct obd_ioobj) == 24, "found %lld\n",
MDS_FMODE_EXEC);
LASSERTF(MDS_OPEN_CREATED == 000000000010UL, "found 0%.11oUL\n",
MDS_OPEN_CREATED);
- LASSERTF(MDS_OPEN_CROSS == 000000000020UL, "found 0%.11oUL\n",
- MDS_OPEN_CROSS);
LASSERTF(MDS_OPEN_CREAT == 000000000100UL, "found 0%.11oUL\n",
MDS_OPEN_CREAT);
LASSERTF(MDS_OPEN_EXCL == 000000000200UL, "found 0%.11oUL\n",
MDS_INODELOCK_OPEN);
LASSERTF(MDS_INODELOCK_LAYOUT == 0x000008, "found 0x%.8x\n",
MDS_INODELOCK_LAYOUT);
+ LASSERTF(MDS_INODELOCK_PERM == 0x000010, "found 0x%.8x\n",
+ MDS_INODELOCK_PERM);
+ LASSERTF(MDS_INODELOCK_XATTR == 0x000020, "found 0x%.8x\n",
+ MDS_INODELOCK_XATTR);
+ LASSERTF(MDS_INODELOCK_DOM == 0x000040, "found 0x%.8x\n",
+ MDS_INODELOCK_DOM);
/* Checks for struct mdt_ioepoch */
LASSERTF((int)sizeof(struct mdt_ioepoch) == 24, "found %lld\n",
(long long)(int)offsetof(struct mdt_rec_resync, rs_padding8));
LASSERTF((int)sizeof(((struct mdt_rec_resync *)0)->rs_padding8) == 4, "found %lld\n",
(long long)(int)sizeof(((struct mdt_rec_resync *)0)->rs_padding8));
- LASSERTF((int)offsetof(struct mdt_rec_resync, rs_padding9) == 132, "found %lld\n",
+ LASSERTF((int)offsetof(struct mdt_rec_resync, rs_mirror_id) == 132, "found %lld\n",
+ (long long)(int)offsetof(struct mdt_rec_resync, rs_mirror_id));
+ LASSERTF((int)sizeof(((struct mdt_rec_resync *)0)->rs_mirror_id) == 2, "found %lld\n",
+ (long long)(int)sizeof(((struct mdt_rec_resync *)0)->rs_mirror_id));
+ LASSERTF((int)offsetof(struct mdt_rec_resync, rs_padding9) == 134, "found %lld\n",
(long long)(int)offsetof(struct mdt_rec_resync, rs_padding9));
- LASSERTF((int)sizeof(((struct mdt_rec_resync *)0)->rs_padding9) == 4, "found %lld\n",
+ LASSERTF((int)sizeof(((struct mdt_rec_resync *)0)->rs_padding9) == 2, "found %lld\n",
(long long)(int)sizeof(((struct mdt_rec_resync *)0)->rs_padding9));
/* Checks for struct mdt_rec_reint */
(long long)(int)offsetof(struct mdt_rec_reint, rr_umask));
LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_umask) == 4, "found %lld\n",
(long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_umask));
- LASSERTF((int)offsetof(struct mdt_rec_reint, rr_padding_4) == 132, "found %lld\n",
+ LASSERTF((int)offsetof(struct mdt_rec_reint, rr_mirror_id) == 132, "found %lld\n",
+ (long long)(int)offsetof(struct mdt_rec_reint, rr_mirror_id));
+ LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_mirror_id) == 2, "found %lld\n",
+ (long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_mirror_id));
+ LASSERTF((int)offsetof(struct mdt_rec_reint, rr_padding_4) == 134, "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",
+ LASSERTF((int)sizeof(((struct mdt_rec_reint *)0)->rr_padding_4) == 2, "found %lld\n",
(long long)(int)sizeof(((struct mdt_rec_reint *)0)->rr_padding_4));
/* Checks for struct lmv_desc */
CLASSERT(FIEMAP_EXTENT_NO_DIRECT == 0x40000000);
CLASSERT(FIEMAP_EXTENT_NET == 0x80000000);
-#ifdef CONFIG_FS_POSIX_ACL
+#ifdef CONFIG_LUSTRE_FS_POSIX_ACL
/* Checks for type posix_acl_xattr_entry */
LASSERTF((int)sizeof(posix_acl_xattr_entry) == 8, "found %lld\n",
(long long)(int)sizeof(posix_acl_xattr_entry));
(long long)(int)offsetof(posix_acl_xattr_entry, e_id));
LASSERTF((int)sizeof(((posix_acl_xattr_entry *)0)->e_id) == 4, "found %lld\n",
(long long)(int)sizeof(((posix_acl_xattr_entry *)0)->e_id));
-#endif /* CONFIG_FS_POSIX_ACL */
+#endif /* CONFIG_LUSTRE_FS_POSIX_ACL */
-#ifdef CONFIG_FS_POSIX_ACL
+#ifdef CONFIG_LUSTRE_FS_POSIX_ACL
/* Checks for type posix_acl_xattr_header */
LASSERTF((int)sizeof(posix_acl_xattr_header) == 4, "found %lld\n",
(long long)(int)sizeof(posix_acl_xattr_header));
LASSERTF((int)sizeof(((posix_acl_xattr_header *)0)->a_entries) == 0, "found %lld\n",
(long long)(int)sizeof(((posix_acl_xattr_header *)0)->a_entries));
#endif /* HAVE_STRUCT_POSIX_ACL_XATTR */
-#endif /* CONFIG_FS_POSIX_ACL */
+#endif /* CONFIG_LUSTRE_FS_POSIX_ACL */
/* Checks for struct link_ea_header */
LASSERTF((int)sizeof(struct link_ea_header) == 24, "found %lld\n",
(long long)(int)offsetof(struct llog_update_record, lur_update_rec));
LASSERTF((int)sizeof(((struct llog_update_record *)0)->lur_update_rec) == 32, "found %lld\n",
(long long)(int)sizeof(((struct llog_update_record *)0)->lur_update_rec));
-}
+ /* Checks for struct lustre_cfg */
+ LASSERTF((int)sizeof(struct lustre_cfg) == 32, "found %lld\n",
+ (long long)(int)sizeof(struct lustre_cfg));
+ LASSERTF((int)offsetof(struct lustre_cfg, lcfg_version) == 0, "found %lld\n",
+ (long long)(int)offsetof(struct lustre_cfg, lcfg_version));
+ LASSERTF((int)sizeof(((struct lustre_cfg *)0)->lcfg_version) == 4, "found %lld\n",
+ (long long)(int)sizeof(((struct lustre_cfg *)0)->lcfg_version));
+ LASSERTF((int)offsetof(struct lustre_cfg, lcfg_command) == 4, "found %lld\n",
+ (long long)(int)offsetof(struct lustre_cfg, lcfg_command));
+ LASSERTF((int)sizeof(((struct lustre_cfg *)0)->lcfg_command) == 4, "found %lld\n",
+ (long long)(int)sizeof(((struct lustre_cfg *)0)->lcfg_command));
+ LASSERTF((int)offsetof(struct lustre_cfg, lcfg_num) == 8, "found %lld\n",
+ (long long)(int)offsetof(struct lustre_cfg, lcfg_num));
+ LASSERTF((int)sizeof(((struct lustre_cfg *)0)->lcfg_num) == 4, "found %lld\n",
+ (long long)(int)sizeof(((struct lustre_cfg *)0)->lcfg_num));
+ LASSERTF((int)offsetof(struct lustre_cfg, lcfg_flags) == 12, "found %lld\n",
+ (long long)(int)offsetof(struct lustre_cfg, lcfg_flags));
+ LASSERTF((int)sizeof(((struct lustre_cfg *)0)->lcfg_flags) == 4, "found %lld\n",
+ (long long)(int)sizeof(((struct lustre_cfg *)0)->lcfg_flags));
+ LASSERTF((int)offsetof(struct lustre_cfg, lcfg_nid) == 16, "found %lld\n",
+ (long long)(int)offsetof(struct lustre_cfg, lcfg_nid));
+ LASSERTF((int)sizeof(((struct lustre_cfg *)0)->lcfg_nid) == 8, "found %lld\n",
+ (long long)(int)sizeof(((struct lustre_cfg *)0)->lcfg_nid));
+ LASSERTF((int)offsetof(struct lustre_cfg, lcfg_nal) == 24, "found %lld\n",
+ (long long)(int)offsetof(struct lustre_cfg, lcfg_nal));
+ LASSERTF((int)sizeof(((struct lustre_cfg *)0)->lcfg_nal) == 4, "found %lld\n",
+ (long long)(int)sizeof(((struct lustre_cfg *)0)->lcfg_nal));
+ LASSERTF((int)offsetof(struct lustre_cfg, lcfg_bufcount) == 28, "found %lld\n",
+ (long long)(int)offsetof(struct lustre_cfg, lcfg_bufcount));
+ LASSERTF((int)sizeof(((struct lustre_cfg *)0)->lcfg_bufcount) == 4, "found %lld\n",
+ (long long)(int)sizeof(((struct lustre_cfg *)0)->lcfg_bufcount));
+ LASSERTF((int)offsetof(struct lustre_cfg, lcfg_buflens[0]) == 32, "found %lld\n",
+ (long long)(int)offsetof(struct lustre_cfg, lcfg_buflens[0]));
+ LASSERTF((int)sizeof(((struct lustre_cfg *)0)->lcfg_buflens[0]) == 4, "found %lld\n",
+ (long long)(int)sizeof(((struct lustre_cfg *)0)->lcfg_buflens[0]));
+ LASSERTF(LCFG_ATTACH == 0x000cf001UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_ATTACH);
+ LASSERTF(LCFG_DETACH == 0x000cf002UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_DETACH);
+ LASSERTF(LCFG_SETUP == 0x000cf003UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_SETUP);
+ LASSERTF(LCFG_CLEANUP == 0x000cf004UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_CLEANUP);
+ LASSERTF(LCFG_ADD_UUID == 0x000cf005UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_ADD_UUID);
+ LASSERTF(LCFG_DEL_UUID == 0x000cf006UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_DEL_UUID);
+ LASSERTF(LCFG_MOUNTOPT == 0x000cf007UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_MOUNTOPT);
+ LASSERTF(LCFG_DEL_MOUNTOPT == 0x000cf008UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_DEL_MOUNTOPT);
+ LASSERTF(LCFG_SET_TIMEOUT == 0x000cf009UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_SET_TIMEOUT);
+ LASSERTF(LCFG_SET_UPCALL == 0x000cf00aUL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_SET_UPCALL);
+ LASSERTF(LCFG_ADD_CONN == 0x000cf00bUL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_ADD_CONN);
+ LASSERTF(LCFG_DEL_CONN == 0x000cf00cUL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_DEL_CONN);
+ LASSERTF(LCFG_LOV_ADD_OBD == 0x000cf00dUL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_LOV_ADD_OBD);
+ LASSERTF(LCFG_LOV_DEL_OBD == 0x000cf00eUL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_LOV_DEL_OBD);
+ LASSERTF(LCFG_PARAM == 0x000cf00fUL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_PARAM);
+ LASSERTF(LCFG_MARKER == 0x000cf010UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_MARKER);
+ LASSERTF(LCFG_LOG_START == 0x000ce011UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_LOG_START);
+ LASSERTF(LCFG_LOG_END == 0x000ce012UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_LOG_END);
+ LASSERTF(LCFG_LOV_ADD_INA == 0x000ce013UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_LOV_ADD_INA);
+ LASSERTF(LCFG_ADD_MDC == 0x000cf014UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_ADD_MDC);
+ LASSERTF(LCFG_DEL_MDC == 0x000cf015UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_DEL_MDC);
+ LASSERTF(LCFG_SPTLRPC_CONF == 0x000ce016UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_SPTLRPC_CONF);
+ LASSERTF(LCFG_POOL_NEW == 0x000ce020UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_POOL_NEW);
+ LASSERTF(LCFG_POOL_ADD == 0x000ce021UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_POOL_ADD);
+ LASSERTF(LCFG_POOL_REM == 0x000ce022UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_POOL_REM);
+ LASSERTF(LCFG_POOL_DEL == 0x000ce023UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_POOL_DEL);
+ LASSERTF(LCFG_SET_LDLM_TIMEOUT == 0x000ce030UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_SET_LDLM_TIMEOUT);
+ LASSERTF(LCFG_PRE_CLEANUP == 0x000cf031UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_PRE_CLEANUP);
+ LASSERTF(LCFG_SET_PARAM == 0x000ce032UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_SET_PARAM);
+ LASSERTF(LCFG_NODEMAP_ADD == 0x000ce040UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_ADD);
+ LASSERTF(LCFG_NODEMAP_DEL == 0x000ce041UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_DEL);
+ LASSERTF(LCFG_NODEMAP_ADD_RANGE == 0x000ce042UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_ADD_RANGE);
+ LASSERTF(LCFG_NODEMAP_DEL_RANGE == 0x000ce043UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_DEL_RANGE);
+ LASSERTF(LCFG_NODEMAP_ADD_UIDMAP == 0x000ce044UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_ADD_UIDMAP);
+ LASSERTF(LCFG_NODEMAP_DEL_UIDMAP == 0x000ce045UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_DEL_UIDMAP);
+ LASSERTF(LCFG_NODEMAP_ADD_GIDMAP == 0x000ce046UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_ADD_GIDMAP);
+ LASSERTF(LCFG_NODEMAP_DEL_GIDMAP == 0x000ce047UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_DEL_GIDMAP);
+ LASSERTF(LCFG_NODEMAP_ACTIVATE == 0x000ce048UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_ACTIVATE);
+ LASSERTF(LCFG_NODEMAP_ADMIN == 0x000ce049UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_ADMIN);
+ LASSERTF(LCFG_NODEMAP_TRUSTED == 0x000ce050UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_TRUSTED);
+ LASSERTF(LCFG_NODEMAP_SQUASH_UID == 0x000ce051UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_SQUASH_UID);
+ LASSERTF(LCFG_NODEMAP_SQUASH_GID == 0x000ce052UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_SQUASH_GID);
+ LASSERTF(LCFG_NODEMAP_ADD_SHKEY == 0x000ce053UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_ADD_SHKEY);
+ LASSERTF(LCFG_NODEMAP_DEL_SHKEY == 0x000ce054UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_DEL_SHKEY);
+ LASSERTF(LCFG_NODEMAP_TEST_NID == 0x000ce055UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_TEST_NID);
+ LASSERTF(LCFG_NODEMAP_TEST_ID == 0x000ce056UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_TEST_ID);
+ LASSERTF(LCFG_NODEMAP_SET_FILESET == 0x000ce057UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_SET_FILESET);
+ LASSERTF(LCFG_NODEMAP_DENY_UNKNOWN == 0x000ce058UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_DENY_UNKNOWN);
+ LASSERTF(LCFG_NODEMAP_MAP_MODE == 0x000ce059UL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_MAP_MODE);
+ LASSERTF(LCFG_NODEMAP_AUDIT_MODE == 0x000ce05aUL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_AUDIT_MODE);
+ LASSERTF(LCFG_NODEMAP_SET_SEPOL == 0x000ce05bUL, "found 0x%.8xUL\n",
+ (unsigned)LCFG_NODEMAP_SET_SEPOL);
+ LASSERTF(PORTALS_CFG_TYPE == 1, "found %lld\n",
+ (long long)PORTALS_CFG_TYPE);
+ LASSERTF(LUSTRE_CFG_TYPE == 123, "found %lld\n",
+ (long long)LUSTRE_CFG_TYPE);
+}