public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] Allow pquota and gquota to be used together
@ 2011-10-18  0:09 Chandra Seetharaman
  2011-10-18  0:09 ` [RFC PATCH 1/3] Remove in core use of XFS_OQUOTA_ENFD and XFS_OQUOTA_CHKD Chandra Seetharaman
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Chandra Seetharaman @ 2011-10-18  0:09 UTC (permalink / raw)
  To: xfs; +Cc: Chandra Seetharaman

Hello All,

Few weeks back I asked for some work on XFS. Christoph suggested
me to make changes to allow pquota and gquota to be used
simultaneously in a filesystem.

All the xfs quota tests ran successfully. Currently running
the full suite.

I am currently working on the user space changes. In the mean
while I wanted to get some feedback on it.

Here are the changes. 

These changes expect the pquotino to be already present in the
disk with a version bit. IOW, only mkfs has the ability to 
create a filesystem with this specific information.

Also, when older superblocks are read, it will be written back
the same way. i.e, no semantic change to the superblock.

1. Expand the on disk XFS_OQUOTA_* to in core XFS_GQUOTA_.* and
   XFS_PQUOTA_.*. But always store as XFS_OQUOTA_.* on disk.

2. Wherever gquota is used, introduce pquota, simply by way of
   defining a macro for pquota(This is to make the changes
   simple and easy to follow).

3. Start using a new field pquotino in on-disk super block, when
   an appropriate version bit is set.

Thanks & Regards,

chandra

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

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

end of thread, other threads:[~2011-10-26 16:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-18  0:09 [RFC PATCH 0/3] Allow pquota and gquota to be used together Chandra Seetharaman
2011-10-18  0:09 ` [RFC PATCH 1/3] Remove in core use of XFS_OQUOTA_ENFD and XFS_OQUOTA_CHKD Chandra Seetharaman
2011-10-18  5:16   ` Arkadiusz Miśkiewicz
2011-10-18 14:15     ` Chandra Seetharaman
2011-10-18 22:40   ` Alex Elder
2011-10-19 15:06     ` Chandra Seetharaman
2011-10-18  0:09 ` [RFC PATCH 2/3] Add pquota fields where gquota is used Chandra Seetharaman
2011-10-19  9:57   ` Christoph Hellwig
2011-10-19 15:17     ` Chandra Seetharaman
2011-10-18  0:09 ` [RFC PATCH 3/3] Add pquotaino to on-disk super block Chandra Seetharaman
2011-10-26 16:14   ` Alex Elder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox