From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Whitehouse Date: Thu, 18 Nov 2010 10:11:05 +0000 Subject: [Cluster-devel] [GFS2][PATCH] - Allow gfs2 to update quota usage via quotactl command In-Reply-To: <1469274193.2601221290017217848.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> References: <1469274193.2601221290017217848.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> Message-ID: <1290075065.2444.1.camel@dolmen> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Can you split this into two? I'd prefer to have the bug fix part separately since then I can send that bit right away and also to the stable tree. The changes look good though, Steve. On Wed, 2010-11-17 at 13:06 -0500, Abhijith Das wrote: > 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