summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-03-14 13:19:55 +1100
committerNathan Scott <nathans@sgi.com>2006-03-14 13:19:55 +1100
commite0cc2325d151c3f4f3276b2deda734faf742146f (patch)
treead9e688d60e55c53579e58ea136d7daf664ee7b8
parent20722a91921bd9e9d4ba5c8f801d143e72e58418 (diff)
downloadop-kernel-dev-e0cc2325d151c3f4f3276b2deda734faf742146f.zip
op-kernel-dev-e0cc2325d151c3f4f3276b2deda734faf742146f.tar.gz
[XFS] Flag the XFS inode cache as in need of spreading also.
SGI-PV: 949073 SGI-Modid: xfs-linux-melb:xfs-kern:25170a Signed-off-by: Nathan Scott <nathans@sgi.com>
-rw-r--r--fs/xfs/linux-2.6/xfs_super.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c
index 0c7ed4b..4d8613f 100644
--- a/fs/xfs/linux-2.6/xfs_super.c
+++ b/fs/xfs/linux-2.6/xfs_super.c
@@ -365,7 +365,8 @@ STATIC int
xfs_init_zones(void)
{
xfs_vnode_zone = kmem_zone_init_flags(sizeof(vnode_t), "xfs_vnode_t",
- KM_ZONE_HWALIGN | KM_ZONE_RECLAIM,
+ KM_ZONE_HWALIGN | KM_ZONE_RECLAIM |
+ KM_ZONE_SPREAD,
linvfs_inode_init_once);
if (!xfs_vnode_zone)
goto out;
OpenPOWER on IntegriCloud