Support inode defragmentation for xfs Reviewed-by: Rik van Riel Signed-off-by: Christoph Lameter --- fs/xfs/linux-2.6/xfs_super.c | 1 + 1 file changed, 1 insertion(+) Index: linux-2.6.24-rc2-mm1/fs/xfs/linux-2.6/xfs_super.c =================================================================== --- linux-2.6.24-rc2-mm1.orig/fs/xfs/linux-2.6/xfs_super.c 2007-11-14 11:08:37.852011611 -0800 +++ linux-2.6.24-rc2-mm1/fs/xfs/linux-2.6/xfs_super.c 2007-11-14 12:19:41.386038485 -0800 @@ -375,6 +375,7 @@ xfs_init_zones(void) xfs_ioend_zone = kmem_zone_init(sizeof(xfs_ioend_t), "xfs_ioend"); if (!xfs_ioend_zone) goto out_destroy_vnode_zone; + kmem_cache_setup_defrag(xfs_vnode_zone, get_inodes, kick_inodes); xfs_ioend_pool = mempool_create_slab_pool(4 * MAX_BUF_PER_PAGE, xfs_ioend_zone); -- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org