[XFS] Flag the XFS inode cache as in need of spreading also.
authorNathan Scott <nathans@sgi.com>
Tue, 14 Mar 2006 02:19:55 +0000 (13:19 +1100)
committerNathan Scott <nathans@sgi.com>
Tue, 14 Mar 2006 02:19:55 +0000 (13:19 +1100)
SGI-PV: 949073
SGI-Modid: xfs-linux-melb:xfs-kern:25170a

Signed-off-by: Nathan Scott <nathans@sgi.com>
fs/xfs/linux-2.6/xfs_super.c

index 0c7ed4b..4d8613f 100644 (file)
@@ -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;