svn commit: r194328 -
user/kmacy/releng_7_2_fcs/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
Kip Macy
kmacy at FreeBSD.org
Wed Jun 17 03:29:01 UTC 2009
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;
More information about the svn-src-user
mailing list