From: alex Date: Tue, 10 Aug 2004 19:38:29 +0000 (+0000) Subject: - it's valid that MDC/LMV notifies MDS X-Git-Tag: v1_7_100~1976 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=33e5a4904d7d76a0bd4766e81c973b64966ce5e1 - it's valid that MDC/LMV notifies MDS --- diff --git a/lustre/mds/mds_lov.c b/lustre/mds/mds_lov.c index b61caf0..7747ff3 100644 --- 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);