Make vfs.zfs.zio.dva_throttle_enabled sysctl writable.
Not sure what I thought originally, but as I see now runtime changes are working fine, and the code seems like even designed for this.
This commit is contained in:
parent
284001a222
commit
6d14f2c48f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337923
@ -83,8 +83,8 @@ const char *zio_type_name[ZIO_TYPES] = {
|
||||
};
|
||||
|
||||
boolean_t zio_dva_throttle_enabled = B_TRUE;
|
||||
SYSCTL_INT(_vfs_zfs_zio, OID_AUTO, dva_throttle_enabled, CTLFLAG_RDTUN,
|
||||
&zio_dva_throttle_enabled, 0, "");
|
||||
SYSCTL_INT(_vfs_zfs_zio, OID_AUTO, dva_throttle_enabled, CTLFLAG_RWTUN,
|
||||
&zio_dva_throttle_enabled, 0, "Enable allocation throttling");
|
||||
|
||||
/*
|
||||
* ==========================================================================
|
||||
|
Loading…
Reference in New Issue
Block a user