lop_add: llog_obd_origin_add
};
+/**
+ * Init obd_llog_group of the filter
+ */
static int filter_olg_init(struct obd_device *obd, struct obd_llog_group *olg,
struct obd_device *tgt)
{
RETURN(rc);
}
+/**
+ * Init the default olg, which is embeded in the obd_device, for filter.
+ */
static int
filter_default_olg_init(struct obd_device *obd, struct obd_llog_group *olg,
struct obd_device *tgt)
RETURN(rc);
}
+/**
+ * Find the group llog according to group index in the llog group list.
+ */
static struct obd_llog_group *
filter_find_olg_internal(struct filter_obd *filter, int group)
{
RETURN(NULL);
}
+/**
+ * Find the group llog according to group index on the filter
+ */
struct obd_llog_group *filter_find_olg(struct obd_device *obd, int group)
{
struct obd_llog_group *olg = NULL;
RETURN(olg);
}
-
+/**
+ * Find the llog_group of the filter according to the group. If it can not
+ * find, create the llog_group, which only happens when mds is being synced
+ * with OST.
+ */
struct obd_llog_group *filter_find_create_olg(struct obd_device *obd, int group)
{
struct obd_llog_group *olg = NULL;