]> bbs.cooldavid.org Git - net-next-2.6.git/commit
xfs: embed the pagb_list array in the perag structure
authorDave Chinner <david@fromorbit.com>
Mon, 11 Jan 2010 11:47:49 +0000 (11:47 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 15 Jan 2010 21:34:39 +0000 (15:34 -0600)
commite57336ff7fc7520bec7b3a7741043bdebaf622ea
tree6a1196e925f2cb7fc2cd5b9ca5d9510166088be2
parent8b26c5825e023b1bccac7afd174ebe55b8905cb1
xfs: embed the pagb_list array in the perag structure

Now that the perag structure is allocated memory rather than held in
an array, we don't need to have the busy extent array external to
the structure. Embed it into the perag structure to avoid needing an
extra allocation when setting up.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/xfs_ag.h
fs/xfs/xfs_alloc.c
fs/xfs/xfs_mount.c