From: tianzy Date: Fri, 5 Sep 2008 06:44:00 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_7_100~1^301~2 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f3f80ee1e6d9039e0eff6335f2788eb1b6234dc9;p=fs%2Flustre-release.git Branch b1_8 Lustre returns an EQUOTA error before hitting the block quota hardlimit b=16645 i=johann i=panda --- diff --git a/lustre/quota/quota_interface.c b/lustre/quota/quota_interface.c index 9149153..1c75df7 100644 --- a/lustre/quota/quota_interface.c +++ b/lustre/quota/quota_interface.c @@ -289,6 +289,7 @@ static int quota_chk_acq_common(struct obd_device *obd, unsigned int uid, int rc = 0, cycle = 0, count_err = 0; ENTRY; + CDEBUG(D_QUOTA, "check quota for %s\n", obd->obd_name); /* Unfortunately, if quota master is too busy to handle the * pre-dqacq in time and quota hash on ost is used up, we * have to wait for the completion of in flight dqacq/dqrel, @@ -373,6 +374,7 @@ static int quota_pending_commit(struct obd_device *obd, unsigned int uid, struct qunit_data qdata[MAXQUOTAS]; ENTRY; + CDEBUG(D_QUOTA, "commit pending quota for %s\n", obd->obd_name); CLASSERT(MAXQUOTAS < 4); if (!sb_any_quota_enabled(qctxt->lqc_sb)) RETURN(0);