Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb9ca68
)
use mdt0 - new mdt device
author
tappro
<tappro>
Fri, 7 Apr 2006 14:38:35 +0000
(14:38 +0000)
committer
tappro
<tappro>
Fri, 7 Apr 2006 14:38:35 +0000
(14:38 +0000)
lustre/obdclass/obd_config.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/obd_config.c
b/lustre/obdclass/obd_config.c
index
90e1260
..
6d564a2
100644
(file)
--- 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) {