#define CFG_F_START 0x01 /* Set when we start updating from a log */
#define CFG_F_MARKER 0x02 /* We are within a maker */
#define CFG_F_SKIP 0x04 /* We should ignore this cfg command */
-#define CFG_F_COMPAT146 0x08 /* Using old-style log */
+#define CFG_F_COMPAT146 0x08 /* Allow old-style logs */
#define CFG_F_EXCLUDE 0x10 /* OST exclusion list */
+#define CFG_F_SERVER146 0x20 /* Using old server */
/* Passed as data param to class_config_parse_llog */
struct config_llog_instance {
RETURN(-EINVAL);
}
- if (!OBP(obd, notify)) {
- CERROR("obd %s has no notify handler\n", obd->obd_name);
+ if (!OBP(obd, notify))
RETURN(-ENOSYS);
- }
OBD_COUNTER_INCREMENT(obd, notify);
RETURN(OBP(obd, notify)(obd, watched, ev, data));
/* uuid.c */
typedef __u8 class_uuid_t[16];
-void class_generate_random_uuid(class_uuid_t uuid);
void class_uuid_unparse(class_uuid_t in, struct obd_uuid *out);
/* lustre_peer.c */
void class_init_uuidlist(void);
void class_exit_uuidlist(void);
+/* prng.c */
+void ll_generate_random_uuid(class_uuid_t uuid_out);
+
#endif /* __LINUX_OBD_CLASS_H */