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:
41617b3
)
get all quota from all osts correctly.
author
niu
<niu>
Mon, 6 Mar 2006 04:54:34 +0000
(
04:54
+0000)
committer
niu
<niu>
Mon, 6 Mar 2006 04:54:34 +0000
(
04:54
+0000)
b: 10277
lustre/utils/lfs.c
patch
|
blob
|
history
diff --git
a/lustre/utils/lfs.c
b/lustre/utils/lfs.c
index
7753426
..
49fc5ca
100644
(file)
--- a/
lustre/utils/lfs.c
+++ b/
lustre/utils/lfs.c
@@
-1302,6
+1302,8
@@
static void print_lov_quota(char *mnt, struct if_quotactl *qctl)
for (i = 0, uuidp = uuids; i < obdcount; i++, uuidp++) {
memcpy(&qctl->obd_uuid, uuidp, sizeof(*uuidp));
+ /* XXX clear this flag to get quota from osts */
+ qctl->qc_dqblk.dqb_valid = 0;
rc = llapi_quotactl(mnt, qctl);
if (rc) {
fprintf(stderr, "%s quotactl failed: %s\n",