xfs
[Top] [All Lists]

[RFC v2 PATCH 0/5] xfs: Allow pquota and gquota to be used together

To: xfs@xxxxxxxxxxx
Subject: [RFC v2 PATCH 0/5] xfs: Allow pquota and gquota to be used together
From: Chandra Seetharaman <sekharan@xxxxxxxxxx>
Date: Wed, 26 Oct 2011 16:21:50 -0500
Cc: Chandra Seetharaman <sekharan@xxxxxxxxxx>
Hello All,

This is the version 2 of the changes to allow pquota and gquota to be used
together.

Previous version of the posting can be found at
http://article.gmane.org/gmane.comp.file-systems.xfs.general/41284

Changes from the previous version:

 - Created a new prep patch to accomodate some generic changes that ease
   the later patches.
 - Created a new patch to add a new field qs_pquota to fs_quota_stat
   with appropriate versioning changes
 - Changed the logic to allow XFS_OQUOTA.* flags to be allowed only in
   the older versions.
 - Changed couple of places where PQUOTA checking was on the else if
   construct so as to allow both GQUOTA and PQUOTA in those places.
 - Fixed comments in xfs_quota.h to reflect the current changes.
 - Changed the name of the macro XFS_SB_VERSION2_SEPER_PQUOTA to 
   XFS_SB_VERSION2_NO_OQUOTA
 - got rid of the macros XFS_MOUNT_QUOTA_SET1 and XFS_MOUNT_QUOTA_SET2
 - added a new inline function xfs_inode_dquot(ip, type) to simplify
   the error path in xfs_qm_dqget()
 - got rid of the macro XFS_IS_THIS_QUOTA_OFF
 - added comment to explain why sb_qflags is saved and restored in 
   xfs_sb_to_disk()

Thanks & Regards,

chandra

<Prev in Thread] Current Thread [Next in Thread>