Author: pjd
Date: Sun May 23 19:10:06 2010
New Revision: 208458
URL: http://svn.freebsd.org/changeset/base/208458
Log:
Create UMA zones unconditionally.
MFC after: 3 days
Modified:
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
==============================================================================
--- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c Sun May 23
18:49:15 2010 (r208457)
+++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c Sun May 23
19:10:06 2010 (r208458)
@@ -101,9 +101,6 @@ zio_init(void)
zio_cache = kmem_cache_create("zio_cache", sizeof (zio_t), 0,
NULL, NULL, NULL, NULL, NULL, 0);
- if (!zio_use_uma)
- goto end;
-
/*
* For small buffers, we want a cache for each multiple of
* SPA_MINBLOCKSIZE. For medium-size buffers, we want a cache
@@ -147,7 +144,7 @@ zio_init(void)
if (zio_data_buf_cache[c - 1] == NULL)
zio_data_buf_cache[c - 1] = zio_data_buf_cache[c];
}
-end:
+
zio_inject_init();
}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"