* 3 - real records */
unsigned ozi_pos:3;
union {
- char ozi_name[NAME_MAX + 1]; /* file name for dir */
+ char ozi_name[MAXNAMELEN]; /* file name for dir */
__u64 ozi_key; /* binary key for index files */
};
};
};
char oti_str[64];
- char oti_key[MAXNAMELEN + 1];
+ union {
+ char oti_key[MAXNAMELEN + 1];
+ __u64 oti_key64[(MAXNAMELEN + 1)/sizeof(__u64)];
+ };
struct lustre_mdt_attrs oti_mdt_attrs;
struct lu_attr oti_la;
uint64_t oo_xattr;
/* record size for index file */
- int oo_recsize;
+ unsigned char oo_keysize;
+ unsigned char oo_recsize;
+ unsigned char oo_recusize; /* unit size */
};
int osd_statfs(const struct lu_env *, struct dt_device *, struct obd_statfs *);
}
#endif
+
+#ifndef HAVE_DSL_POOL_CONFIG
+static inline void dsl_pool_config_enter(dsl_pool_t *dp, char *name)
+{
+}
+
+static inline void dsl_pool_config_exit(dsl_pool_t *dp, char *name)
+{
+}
+
+#endif
+
#endif /* _OSD_INTERNAL_H */