Whamcloud - gitweb
LU-15671 mds: do not send OST_CREATE transno interop
[fs/lustre-release.git] / lustre / lod / lod_lov.c
index a641090..b3322c5 100644 (file)
@@ -175,7 +175,8 @@ int lod_add_device(const struct lu_env *env, struct lod_device *lod,
        if (data == NULL)
                GOTO(out_cleanup, rc = -ENOMEM);
 
-       data->ocd_connect_flags = OBD_CONNECT_INDEX | OBD_CONNECT_VERSION;
+       data->ocd_connect_flags = OBD_CONNECT_INDEX | OBD_CONNECT_VERSION |
+                                 OBD_CONNECT_FLAGS2;
        data->ocd_version = LUSTRE_VERSION_CODE;
        data->ocd_index = index;
 
@@ -196,6 +197,7 @@ int lod_add_device(const struct lu_env *env, struct lod_device *lod,
                                           OBD_CONNECT_PINGLESS |
                                           OBD_CONNECT_LFSCK |
                                           OBD_CONNECT_BULK_MBITS;
+               data->ocd_connect_flags2 = OBD_CONNECT2_REPLAY_CREATE;
 
                data->ocd_group = tgt_index;
                ltd = &lod->lod_ost_descs;