From mboxrd@z Thu Jan 1 00:00:00 1970 From: Abhijith Das Date: Wed, 17 Nov 2010 13:06:57 -0500 (EST) Subject: [Cluster-devel] [GFS2][PATCH] - Allow gfs2 to update quota usage via quotactl command In-Reply-To: <1520300666.2600691290016997489.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> Message-ID: <1469274193.2601221290017217848.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit With this patch the gfs2_set_dqblk() function will be able to update the quota usage block count (FS_DQ_BCOUNT) in addition to the already supported FS_DQ_BHARD (limit) and FS_DQ_BSOFT (warn) fields of the dquot structure. Also, the userland side of the quotactl syscall assumes blocksize 512B (basic block size), so we convert our values back and forth from fs blocks to basic blocks as necessary. Signed-off-by: Abhi Das -------------- next part -------------- A non-text attachment was scrubbed... Name: bz696794-upstream-gfs2-allow-update-of-quota-usage.patch Type: text/x-patch Size: 3160 bytes Desc: not available URL: