- Allow gfs2 to update quota usage via quotactl command
A message that is not in the archive (sent off-list or not yet received): 1520300666.2600691290016997489.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com
PATCH 1/1 - 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.
-------------- 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>
PATCH 1/1 - 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.
Quoted 3 lines · Abhijith Das
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 supportedFS_DQ_BHARD(limit) andFS_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 <[email protected]>