Whamcloud - gitweb
b=2262
[fs/lustre-release.git] / lustre / mds / handler.c
index 9741b80..a15c52b 100644 (file)
@@ -1955,7 +1955,8 @@ static int mds_setup(struct obd_device *obd, struct lustre_cfg* lcfg)
         mds->mds_evict_ost_nids = 1;
 
         sprintf(ns_name, "mds-%s", obd->obd_uuid.uuid);
-        obd->obd_namespace = ldlm_namespace_new(ns_name, LDLM_NAMESPACE_SERVER);
+        obd->obd_namespace = ldlm_namespace_new(ns_name, LDLM_NAMESPACE_SERVER,
+                                                LDLM_NAMESPACE_GREEDY);
         if (obd->obd_namespace == NULL) {
                 mds_cleanup(obd);
                 GOTO(err_ops, rc = -ENOMEM);