Skip to content

Commit

Permalink
Increase ZFS_OBJ_MTX_SZ further
Browse files Browse the repository at this point in the history
Larger values have been associated with better concurrency and less
hanging of memory reclaim operations. So raise this number
further.

The array is allocated from vmem_alloc so we're not TOO concerned
about how big it gets.
  • Loading branch information
DeHackEd committed Dec 7, 2015
1 parent ebd6504 commit 2a6f630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sys/zfs_vfsops.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,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 768
kmutex_t *z_hold_mtx; /* znode hold locks */
} zfs_sb_t;

Expand Down

0 comments on commit 2a6f630

Please sign in to comment.