From: tianzy Date: Mon, 12 May 2008 05:15:36 +0000 (+0000) Subject: Branch b1_6 X-Git-Tag: v1_8_0_110~543 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=51efeb6716fe3363fca5f05e360932abb301dba3;p=fs%2Flustre-release.git Branch b1_6 change the time of ost informing osc out of quota in order to get more accurate quota b=14909 i=johann, andrew --- diff --git a/lustre/quota/quota_interface.c b/lustre/quota/quota_interface.c index 7e388ab..af3c6f5 100644 --- a/lustre/quota/quota_interface.c +++ b/lustre/quota/quota_interface.c @@ -330,7 +330,7 @@ static int filter_quota_getflag(struct obd_device *obd, struct obdo *oa) oa->o_valid |= (cnt == USRQUOTA) ? OBD_MD_FLUSRQUOTA : OBD_MD_FLGRPQUOTA; if (oqctl->qc_dqblk.dqb_bhardlimit && - (toqb(oqctl->qc_dqblk.dqb_curspace) > + (toqb(oqctl->qc_dqblk.dqb_curspace) >= oqctl->qc_dqblk.dqb_bhardlimit)) oa->o_flags |= (cnt == USRQUOTA) ? OBD_FL_NO_USRQUOTA : OBD_FL_NO_GRPQUOTA;