Sfoglia il codice sorgente

[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>
Nathan Scott 19 anni fa
parent
commit
e0cc2325d1
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      fs/xfs/linux-2.6/xfs_super.c

+ 2 - 1
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;