Whamcloud - gitweb
get all quota from all osts correctly.
authorniu <niu>
Mon, 6 Mar 2006 04:54:34 +0000 (04:54 +0000)
committerniu <niu>
Mon, 6 Mar 2006 04:54:34 +0000 (04:54 +0000)
b: 10277

lustre/utils/lfs.c

index 7753426..49fc5ca 100644 (file)
@@ -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",