Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 May 2010 19:10:06 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r208458 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <201005231910.o4NJA6KX064377@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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();
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005231910.o4NJA6KX064377>