From 2827b75ae1fd5c0c1627dd46eac0b81992bf4afd Mon Sep 17 00:00:00 2001 From: DHE Date: Sat, 11 Jan 2014 07:14:57 -0500 Subject: [PATCH] Increase ZFS_OBJ_MTX_SZ further Larger values have been associated with better concurrency and less hanging of memory reclaim operations. So raise this number further. --- include/sys/zfs_vfsops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sys/zfs_vfsops.h b/include/sys/zfs_vfsops.h index eeeffbe4c72c..392a663bd954 100644 --- a/include/sys/zfs_vfsops.h +++ b/include/sys/zfs_vfsops.h @@ -90,7 +90,7 @@ typedef struct zfs_sb { uint64_t z_groupquota_obj; uint64_t z_replay_eof; /* New end of file - replay only */ sa_attr_type_t *z_attr_table; /* SA attr mapping->id */ -#define ZFS_OBJ_MTX_SZ 256 +#define ZFS_OBJ_MTX_SZ 3071 kmutex_t z_hold_mtx[ZFS_OBJ_MTX_SZ]; /* znode hold locks */ } zfs_sb_t;