xfs: Extend project quotas to support 32bit project ids
authorArkadiusz Mi?kiewicz <arekm@maven.pl>
Sun, 26 Sep 2010 06:10:18 +0000 (06:10 +0000)
committerAlex Elder <aelder@sgi.com>
Mon, 18 Oct 2010 20:08:08 +0000 (15:08 -0500)
This patch adds support for 32bit project quota identifiers.

On disk format is backward compatible with 16bit projid numbers. projid
on disk is now kept in two 16bit values - di_projid_lo (which holds the
same position as old 16bit projid value) and new di_projid_hi (takes
existing padding) and converts from/to 32bit value on the fly.

xfs_admin (for existing fs), mkfs.xfs (for new fs) needs to be used
to enable PROJID32BIT support.

Signed-off-by: Arkadiusz Miƛkiewicz <arekm@maven.pl>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>

No differences found