From 7de1797cee8b887871f3dede83c76edbe3e961f4 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Sun, 11 Apr 2021 21:49:13 -0700 Subject: ZTS: fix removal_condense_export test case It's been observed in the CI that the required 25% of obsolete bytes in the mapping can be to high a threshold for this test resulting in condensing never being triggered and a test failure. To prevent these failures make the existing zfs_condense_indirect_obsolete_pct tuning available so the obsolete percentage can be reduced from 25% to 5% during this test. Reviewed-by: Ryan Moeller Reviewed-by: George Melikov Signed-off-by: Brian Behlendorf Closes #11869 --- man/man5/zfs-module-parameters.5 | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'man/man5') diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index 935c8afb0..7a86c56b4 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -1445,6 +1445,19 @@ to throttle vdev removal speed. Default value: \fB0\fR (no throttle). .RE +.sp +.ne 2 +.na +\fBzfs_condense_indirect_obsolete_pct\fR (int) +.ad +.RS 12n +Minimum percent of obsolete bytes in vdev mapping required to attempt to +condense (see \fBzfs_condense_indirect_vdevs_enable\fR). Intended for use +with the test suite to facilitate triggering condensing as needed. +.sp +Default value: \fB25\fR%. +.RE + .sp .ne 2 .na -- cgit v1.2.3