Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2009 03:29:00 +0000 (UTC)
From:      Kip Macy <kmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r194328 - user/kmacy/releng_7_2_fcs/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Message-ID:  <200906170329.n5H3T0MZ061342@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kmacy
Date: Wed Jun 17 03:29:00 2009
New Revision: 194328
URL: http://svn.freebsd.org/changeset/base/194328

Log:
  increase the size of mutex arrays

Modified:
  user/kmacy/releng_7_2_fcs/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c

Modified: user/kmacy/releng_7_2_fcs/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
==============================================================================
--- user/kmacy/releng_7_2_fcs/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c	Wed Jun 17 03:15:23 2009	(r194327)
+++ user/kmacy/releng_7_2_fcs/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c	Wed Jun 17 03:29:00 2009	(r194328)
@@ -230,8 +230,8 @@ struct arcs_lock {
  * must be power of two for mask use to work
  *
  */
-#define ARC_BUFC_NUMDATALISTS		16
-#define ARC_BUFC_NUMMETADATALISTS	16
+#define ARC_BUFC_NUMDATALISTS		256
+#define ARC_BUFC_NUMMETADATALISTS	256
 #define ARC_BUFC_NUMLISTS	(ARC_BUFC_NUMMETADATALISTS+ARC_BUFC_NUMDATALISTS)
 
 typedef struct arc_state {
@@ -541,7 +541,7 @@ struct ht_lock {
 #endif
 };
 
-#define	BUF_LOCKS 256
+#define	BUF_LOCKS 512
 typedef struct buf_hash_table {
 	uint64_t ht_mask;
 	arc_buf_hdr_t **ht_table;



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