Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17e18ec
)
Branch b1_6
author
tianzy
<tianzy>
Mon, 12 May 2008 05:15:36 +0000
(
05:15
+0000)
committer
tianzy
<tianzy>
Mon, 12 May 2008 05:15:36 +0000
(
05:15
+0000)
change the time of ost informing osc out of quota in order to get more
accurate quota
b=14909
i=johann, andrew
lustre/quota/quota_interface.c
patch
|
blob
|
history
diff --git
a/lustre/quota/quota_interface.c
b/lustre/quota/quota_interface.c
index
7e388ab
..
af3c6f5
100644
(file)
--- 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;