Whamcloud - gitweb
- it's valid that MDC/LMV notifies MDS
authoralex <alex>
Tue, 10 Aug 2004 19:38:29 +0000 (19:38 +0000)
committeralex <alex>
Tue, 10 Aug 2004 19:38:29 +0000 (19:38 +0000)
lustre/mds/mds_lov.c

index b61caf0..7747ff3 100644 (file)
@@ -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);