Skip to content
Snippets Groups Projects
Commit 51efeb67 authored by tianzy's avatar tianzy
Browse files

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
parent 17e18eca
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment