GFS2: Extract quota data from reservations structure (revert 5407e24)
authorBob Peterson <rpeterso@redhat.com>
Mon, 26 Oct 2015 15:40:28 +0000 (10:40 -0500)
committerBob Peterson <rpeterso@redhat.com>
Tue, 24 Nov 2015 14:38:44 +0000 (08:38 -0600)
commitb54e9a0b92d44843f6719ae22b0f6daf5b9b23b4
treec0e4f124cdd1208f046fc0fc19c090cc3204e6f3
parent39b0555f7a1f96ecd303103df15596db49c36c65
GFS2: Extract quota data from reservations structure (revert 5407e24)

This patch basically reverts the majority of patch 5407e24.
That patch eliminated the gfs2_qadata structure in favor of just
using the reservations structure. The problem with doing that is that
it increases the size of the reservations structure. That is not an
issue until it comes time to fold the reservations structure into the
inode in memory so we know it's always there. By separating out the
quota structure again, we aren't punishing the non-quota users by
making all the inodes bigger, requiring more slab space. This patch
creates a new slab area to allocate the quota stuff so it's managed
a little more sanely.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
13 files changed:
fs/gfs2/aops.c
fs/gfs2/bmap.c
fs/gfs2/file.c
fs/gfs2/incore.h
fs/gfs2/inode.c
fs/gfs2/main.c
fs/gfs2/quota.c
fs/gfs2/quota.h
fs/gfs2/rgrp.c
fs/gfs2/rgrp.h
fs/gfs2/super.c
fs/gfs2/util.c
fs/gfs2/util.h