From: niu Date: Mon, 6 Mar 2006 04:54:34 +0000 (+0000) Subject: get all quota from all osts correctly. X-Git-Tag: v1_7_100~1^103~4^2~1 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=2ae597274a16c1ac28f0512c3ca97f4c1c86cfc2;p=fs%2Flustre-release.git get all quota from all osts correctly. b: 10277 --- diff --git a/lustre/utils/lfs.c b/lustre/utils/lfs.c index 7753426..49fc5ca 100644 --- 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",