Whamcloud - gitweb
Branch b1_8_gate
authorjohann <johann>
Mon, 8 Sep 2008 22:38:28 +0000 (22:38 +0000)
committerjohann <johann>
Mon, 8 Sep 2008 22:38:28 +0000 (22:38 +0000)
b=16260
i=tianzy
i=panda

The master must return EAGAIN to quota requests until the config is processed.

lustre/mds/mds_lov.c

index b5f97ab..fce899d 100644 (file)
@@ -1069,6 +1069,9 @@ int mds_notify(struct obd_device *obd, struct obd_device *watched,
                 /* call this only when config is processed and stale_export_age
                  * value is configured */
                 class_disconnect_expired_exports(obd);
+                /* quota_type has been processed, we can now handle
+                 * incoming quota requests */
+                obd->u.obt.obt_qctxt.lqc_setup = 1;
         default:
                 RETURN(0);
         }