Add couple tunables/sysctl, missed in r336949.

This commit is contained in:
Alexander Motin 2018-08-16 00:50:14 +00:00
parent 3349f8bb8f
commit edc391e922
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337883
2 changed files with 7 additions and 0 deletions

View File

@ -437,6 +437,10 @@ SYSCTL_UQUAD(_vfs_zfs, OID_AUTO, spa_min_slop, CTLFLAG_RWTUN,
int spa_allocators = 4;
SYSCTL_INT(_vfs_zfs, OID_AUTO, spa_allocators, CTLFLAG_RWTUN,
&spa_allocators, 0,
"Number of allocators per metaslab group");
/*PRINTFLIKE2*/
void
spa_load_failed(spa_t *spa, const char *fmt, ...)

View File

@ -267,6 +267,9 @@ SYSCTL_INT(_vfs_zfs_vdev, OID_AUTO, write_gap_limit, CTLFLAG_RWTUN,
SYSCTL_INT(_vfs_zfs_vdev, OID_AUTO, queue_depth_pct, CTLFLAG_RWTUN,
&zfs_vdev_queue_depth_pct, 0,
"Queue depth percentage for each top-level");
SYSCTL_INT(_vfs_zfs_vdev, OID_AUTO, def_queue_depth, CTLFLAG_RWTUN,
&zfs_vdev_def_queue_depth, 0,
"Default queue depth for each allocator");
static int
sysctl_zfs_async_write_active_min_dirty_percent(SYSCTL_HANDLER_ARGS)