Whamcloud - gitweb
LU-6602 obdclass: variable llog chunk size
[fs/lustre-release.git] / lustre / obdclass / llog_obd.c
index 2fc816f..e80150f 100644 (file)
@@ -171,6 +171,7 @@ int llog_setup(const struct lu_env *env, struct obd_device *obd,
                ctxt->loc_exp = class_export_get(obd->obd_self_export);
 
        ctxt->loc_flags = LLOG_CTXT_FLAG_UNINITIALIZED;
+       ctxt->loc_chunk_size = LLOG_MIN_CHUNK_SIZE;
 
         rc = llog_group_set_ctxt(olg, ctxt, index);
         if (rc) {