Whamcloud - gitweb
LU-7050 llog: record the minimum record size
[fs/lustre-release.git] / lustre / obdclass / llog.c
index 7bdd90f..6d1e07c 100644 (file)
@@ -379,6 +379,7 @@ int llog_init_handle(const struct lu_env *env, struct llog_handle *handle,
                LASSERT(list_empty(&handle->u.chd.chd_head));
                INIT_LIST_HEAD(&handle->u.chd.chd_head);
                llh->llh_size = sizeof(struct llog_logid_rec);
+               llh->llh_flags |= LLOG_F_IS_FIXSIZE;
        } else if (!(flags & LLOG_F_IS_PLAIN)) {
                CERROR("%s: unknown flags: %#x (expected %#x or %#x)\n",
                       handle->lgh_ctxt->loc_obd->obd_name,