Lines 132-137
uint64_t zfs_delay_scale = 1000 * 1000 * 1000 / 2000;
Link Here
|
132 |
|
132 |
|
133 |
|
133 |
|
134 |
SYSCTL_DECL(_vfs_zfs); |
134 |
SYSCTL_DECL(_vfs_zfs); |
|
|
135 |
|
136 |
TUNABLE_INT("vfs.zfs.dirty_data_max_percent", &zfs_dirty_data_max_percent); |
137 |
SYSCTL_INT(_vfs_zfs, OID_AUTO, dirty_data_max_percent, CTLFLAG_RDTUN, |
138 |
&zfs_dirty_data_max_percent, 0, |
139 |
"Maximum percent of physical memory allocated to dirty data"); |
140 |
|
141 |
TUNABLE_QUAD("vfs.zfs.dirty_data_max", &zfs_dirty_data_max); |
142 |
SYSCTL_UQUAD(_vfs_zfs, OID_AUTO, dirty_data_max, CTLFLAG_RDTUN, |
143 |
&zfs_dirty_data_max, 0, |
144 |
"Force a txg if dirty buffers exceed this value (bytes)"); |
145 |
|
146 |
TUNABLE_QUAD("vfs.zfs.dirty_data_max_max", &zfs_dirty_data_max_max); |
147 |
SYSCTL_UQUAD(_vfs_zfs, OID_AUTO, dirty_data_max_max, CTLFLAG_RDTUN, |
148 |
&zfs_dirty_data_max_max, 0, |
149 |
"Limit dirty_data_max when using dirty_data_max_percent"); |
150 |
|
135 |
#if 0 |
151 |
#if 0 |
136 |
TUNABLE_INT("vfs.zfs.no_write_throttle", &zfs_no_write_throttle); |
152 |
TUNABLE_INT("vfs.zfs.no_write_throttle", &zfs_no_write_throttle); |
137 |
SYSCTL_INT(_vfs_zfs, OID_AUTO, no_write_throttle, CTLFLAG_RDTUN, |
153 |
SYSCTL_INT(_vfs_zfs, OID_AUTO, no_write_throttle, CTLFLAG_RDTUN, |