[XFS] Fix inode list allocation size in writeback.
authorDavid Chinner <dgc@sgi.com>
Tue, 20 May 2008 01:30:15 +0000 (11:30 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Fri, 23 May 2008 05:26:15 +0000 (15:26 +1000)
commitc8f5f12e46f079a954d4f7163ba59dadee08ca26
treeaf2f74b28429313db0a13a71b0be8d0351e53e5d
parent49383b0e98ad1f69ff4c816eb1961f703df12318
[XFS] Fix inode list allocation size in writeback.

We only need to allocate space for the number of inodes in the cluster
when writing back inodes, not every byte in the inode cluster. This
reduces the amount of memory needing to be allocated to 256 bytes instead
of 64k.

SGI-PV: 981949
SGI-Modid: xfs-linux-melb:xfs-kern:31182a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/xfs_inode.c