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:
0fdc797
)
- it's valid that MDC/LMV notifies MDS
author
alex
<alex>
Tue, 10 Aug 2004 19:38:29 +0000
(19:38 +0000)
committer
alex
<alex>
Tue, 10 Aug 2004 19:38:29 +0000
(19:38 +0000)
lustre/mds/mds_lov.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_lov.c
b/lustre/mds/mds_lov.c
index
b61caf0
..
7747ff3
100644
(file)
--- a/
lustre/mds/mds_lov.c
+++ b/
lustre/mds/mds_lov.c
@@
-683,6
+683,9
@@
int mds_notify(struct obd_device *obd, struct obd_device *watched,
if (!active)
RETURN(0);
+ if (!strcmp(watched->obd_type->typ_name, LUSTRE_MDC_NAME))
+ RETURN(0);
+
if (strcmp(watched->obd_type->typ_name, LUSTRE_OSC_NAME)) {
CERROR("unexpected notification of %s %s!\n",
watched->obd_type->typ_name, watched->obd_name);