summaryrefslogtreecommitdiffstats
path: root/man/man5
diff options
context:
space:
mode:
authorMax Grossman <[email protected]>2014-09-07 17:06:08 +0200
committerBrian Behlendorf <[email protected]>2014-09-23 14:26:34 -0700
commit36283ca23346061cb653dc7b6bd583d1cf772808 (patch)
treefa84ff76b97a14142e4b965f26415d6f16bf2e8f /man/man5
parentacbad6ff6768b0ccfb3c319e981ec211dcecc277 (diff)
Illumos 5138 - add tunable for maximum number of blocks freed in one txg
Reviewed by: Adam Leventhal <[email protected]> Reviewed by: Mattew Ahrens <[email protected]> Reviewed by: Josef 'Jeff' Sipek <[email protected]> Reviewed by: Richard Elling <[email protected]> Reviewed by: George Wilson <[email protected]> Approved by: Dan McDonald <[email protected]> References: https://www.illumos.org/issues/5138 https://github.com/illumos/illumos-gate/commit/af3465d Porting notes: Because support for exposing a uint64_t parameter wasn't added until v3.17-rc1 the zfs_free_max_blocks variable has been declared as a unsigned long. This is already far larger than required and it allows us to avoid additional autoconf compatibility code. The default value has been set to 100,000 on Linux instead of ULONG_MAX which is used on Illumos. This was done to limit the number of outstanding IOs in the system when snapshots are destroyed. This helps ensure individual TXG sync times are kept reasonable and memory isn't wasted managing a huge backlog of outstanding IOs. Ported by: Turbo Fredriksson <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2675 Closes #2581
Diffstat (limited to 'man/man5')
-rw-r--r--man/man5/zfs-module-parameters.511
1 files changed, 11 insertions, 0 deletions
diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5
index 9c5d70de8..28c6e11d2 100644
--- a/man/man5/zfs-module-parameters.5
+++ b/man/man5/zfs-module-parameters.5
@@ -623,6 +623,17 @@ Default value: \fB67,108,864\fR.
.sp
.ne 2
.na
+\fBzfs_free_max_blocks\fR (ulong)
+.ad
+.RS 12n
+Maximum number of blocks freed in a single txg.
+.sp
+Default value: \fB100,000\fR.
+.RE
+
+.sp
+.ne 2
+.na
\fBzfs_vdev_async_read_max_active\fR (int)
.ad
.RS 12n