Whamcloud - gitweb
- export handling for VBR
authortappro <tappro>
Wed, 3 Sep 2008 08:11:27 +0000 (08:11 +0000)
committertappro <tappro>
Wed, 3 Sep 2008 08:11:27 +0000 (08:11 +0000)
  b:15391
  i:rread, bzzz

lustre/mds/mds_lov.c

index d33bcc2..ca91c9e 100644 (file)
@@ -1063,6 +1063,9 @@ int mds_notify(struct obd_device *obd, struct obd_device *watched,
                 break;
         case OBD_NOTIFY_CONFIG:
                 mds_allow_cli(obd, (unsigned long)data);
+                /* call this only when config is processed and stale_export_age
+                 * value is configured */
+                class_disconnect_expired_exports(obd);
         default:
                 RETURN(0);
         }