FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 11-17-2010, 05:06 PM
Abhijith Das
 
Default - Allow gfs2 to update quota usage via quotactl command

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>
 
Old 11-18-2010, 09:11 AM
Steven Whitehouse
 
Default - Allow gfs2 to update quota usage via quotactl command

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>
 

Thread Tools




All times are GMT. The time now is 07:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org