summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorKevin Jin <[email protected]>2021-07-20 11:40:24 -0400
committerTony Hutter <[email protected]>2022-09-21 16:12:14 -0700
commitd05f3039f7749508229e16b981723ec95c8764d1 (patch)
tree9f157ebb4916fb551c5bcf04c6f0e0dd1b2cc406 /man
parent999830a0212e74530d41b9ef3022fa91166c5d58 (diff)
Add Module Parameter Regarding Log Size Limit
zfs_wrlog_data_max The upper limit of TX_WRITE log data. Once it is reached, write operation is blocked, until log data is cleared out after txg sync. It only counts TX_WRITE log with WR_COPIED or WR_NEED_COPY. Reviewed-by: Prakash Surya <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: jxdking <[email protected]> Closes #12284
Diffstat (limited to 'man')
-rw-r--r--man/man4/zfs.412
1 files changed, 12 insertions, 0 deletions
diff --git a/man/man4/zfs.4 b/man/man4/zfs.4
index c32dd4b1b..19c67a61a 100644
--- a/man/man4/zfs.4
+++ b/man/man4/zfs.4
@@ -1096,6 +1096,18 @@ Start syncing out a transaction group if there's at least this much dirty data
This should be less than
.Sy zfs_vdev_async_write_active_min_dirty_percent .
.
+.It Sy zfs_wrlog_data_max Ns = Pq int
+The upper limit of write-transaction zil log data size in bytes.
+Once it is reached, write operation is blocked, until log data is cleared out
+after transaction group sync. Because of some overhead, it should be set
+at least 2 times the size of
+.Sy zfs_dirty_data_max
+.No to prevent harming normal write throughput.
+It also should be smaller than the size of the slog device if slog is present.
+.Pp
+Defaults to
+.Sy zfs_dirty_data_max*2
+.
.It Sy zfs_fallocate_reserve_percent Ns = Ns Sy 110 Ns % Pq uint
Since ZFS is a copy-on-write filesystem with snapshots, blocks cannot be
preallocated for a file in order to guarantee that later writes will not