From 16084a3f8fa6033e539070012c64e02acfb65e01 Mon Sep 17 00:00:00 2001 From: johann Date: Mon, 8 Sep 2008 22:38:28 +0000 Subject: [PATCH] Branch b1_8_gate b=16260 i=tianzy i=panda The master must return EAGAIN to quota requests until the config is processed. --- lustre/mds/mds_lov.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/mds/mds_lov.c b/lustre/mds/mds_lov.c index b5f97ab..fce899d 100644 --- a/lustre/mds/mds_lov.c +++ b/lustre/mds/mds_lov.c @@ -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); } -- 1.8.3.1