cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
* [Cluster-devel] [GFS2][PATCH] - Allow gfs2 to update quota usage via quotactl command
       [not found] <1520300666.2600691290016997489.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
@ 2010-11-17 18:06 ` Abhijith Das
  2010-11-18 10:11   ` Steven Whitehouse
  0 siblings, 1 reply; 2+ messages in thread
From: Abhijith Das @ 2010-11-17 18:06 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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 <adas@redhat.com>
-------------- 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: <http://listman.redhat.com/archives/cluster-devel/attachments/20101117/05b92e0e/attachment.bin>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Cluster-devel] [GFS2][PATCH] - Allow gfs2 to update quota usage via quotactl command
  2010-11-17 18:06 ` [Cluster-devel] [GFS2][PATCH] - Allow gfs2 to update quota usage via quotactl command Abhijith Das
@ 2010-11-18 10:11   ` Steven Whitehouse
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Whitehouse @ 2010-11-18 10:11 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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 <adas@redhat.com>




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-18 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1520300666.2600691290016997489.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com>
2010-11-17 18:06 ` [Cluster-devel] [GFS2][PATCH] - Allow gfs2 to update quota usage via quotactl command Abhijith Das
2010-11-18 10:11   ` Steven Whitehouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).