mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 19:04:45 +03:00
Add zfs_object_mutex_size module option
Add a zfs_object_mutex_size module option to facilitate resizing the the per-dataset znode mutex array. Increasing this value may help make the deadlock described in #4106 less common, but this is not a proper fix. This patch is primarily to aid debugging and analysis. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tim Chase <tim@chase2k.com> Issue #4106
This commit is contained in:
@@ -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
|
||||
uint64_t z_hold_mtx_size; /* znode hold locks size */
|
||||
kmutex_t *z_hold_mtx; /* znode hold locks */
|
||||
} zfs_sb_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user