diff options
author | Brian Behlendorf <[email protected]> | 2018-10-01 10:36:34 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2018-10-01 10:36:34 -0700 |
commit | 1258bd778e8279a4cd051543827f333fe2daed76 (patch) | |
tree | 8c478c1fe49a126967310e90b185fc1cccb8a310 /man/man5 | |
parent | d12614521a307c709778e5f7f91ae6085f63f9e0 (diff) |
Refine split block reconstruction
Due to a flaw in 4589f3ae the number of unique combinations
could be calculated incorrectly. This could result in the
random combinations reconstruction being used when it would
have been possible to check all combinations.
This change fixes the unique combinations calculation and
simplifies the reconstruction logic by maintaining a per-
segment list of unique copies.
The vdev_indirect_splits_damage() function was introduced
to validate both the enumeration and random reconstruction
logic with ztest. It is implemented such it will never
make a known recoverable block unrecoverable.
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: Serapheim Dimitropoulos <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #6900
Closes #7934
Diffstat (limited to 'man/man5')
-rw-r--r-- | man/man5/zfs-module-parameters.5 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index 25e4a41d1..b02d6aae7 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -1965,7 +1965,7 @@ combinations each time the block is accessed. This allows all segment copies to participate fairly in the reconstruction when all combinations cannot be checked and prevents repeated use of one bad copy. .sp -Default value: \fB100\fR. +Default value: \fB256\fR. .RE .sp |