Whamcloud - gitweb
use mdt0 - new mdt device
authortappro <tappro>
Fri, 7 Apr 2006 14:38:35 +0000 (14:38 +0000)
committertappro <tappro>
Fri, 7 Apr 2006 14:38:35 +0000 (14:38 +0000)
lustre/obdclass/obd_config.c

index 90e1260..6d564a2 100644 (file)
@@ -84,9 +84,9 @@ int class_attach(struct lustre_cfg *lcfg)
         if (lcfg->lcfg_flags & LCFG_FLG_MOUNTCONF){
                 char *tmp = NULL;
                 if (strcmp(typename, "mds") == 0)
-                        tmp = "mdt";
-                if (strcmp(typename, "mdt") == 0)
                         tmp = "mds";
+                if (strcmp(typename, "mdt") == 0)
+                        tmp = "mdt0";
                 if (strcmp(typename, "osd") == 0)
                         tmp = "obdfilter";
                 if (tmp) {