From 972186cf560348ec7a11820210cdb898f37f3cb0 Mon Sep 17 00:00:00 2001 From: tappro Date: Fri, 7 Apr 2006 14:38:35 +0000 Subject: [PATCH] use mdt0 - new mdt device --- lustre/obdclass/obd_config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/obdclass/obd_config.c b/lustre/obdclass/obd_config.c index 90e1260..6d564a2 100644 --- a/lustre/obdclass/obd_config.c +++ b/lustre/obdclass/obd_config.c @@ -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) { -- 1.8.3.1