From 724f25463b7dec82cbfcede0aa1eaf3ba23c1091 Mon Sep 17 00:00:00 2001 From: johann Date: Mon, 8 Sep 2008 22:38:25 +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/include/lustre_quota.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lustre/include/lustre_quota.h b/lustre/include/lustre_quota.h index 54ea6e0..d1d2fa1 100644 --- a/lustre/include/lustre_quota.h +++ b/lustre/include/lustre_quota.h @@ -230,8 +230,12 @@ struct lustre_quota_ctxt { dqacq_handler_t lqc_handler; /* dqacq/dqrel RPC handler, only for quota master */ unsigned long lqc_flags; /* quota flags */ unsigned long lqc_recovery:1, /* Doing recovery */ - lqc_switch_qs:1; /* the function of change qunit size + lqc_switch_qs:1, /* the function of change qunit size * 0:Off, 1:On */ + lqc_setup:1; /* tell whether of not quota_type has + * been processed, so that the master + * knows when it can start processing + * incoming acq/rel quota requests */ unsigned long lqc_iunit_sz; /* original unit size of file quota and * upper limitation for adjust file * qunit */ -- 1.8.3.1