aboutsummaryrefslogtreecommitdiffstats
path: root/include/zfs_deleg.h
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2018-10-01 10:36:34 -0700
committerGitHub <[email protected]>2018-10-01 10:36:34 -0700
commit1258bd778e8279a4cd051543827f333fe2daed76 (patch)
tree8c478c1fe49a126967310e90b185fc1cccb8a310 /include/zfs_deleg.h
parentd12614521a307c709778e5f7f91ae6085f63f9e0 (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 'include/zfs_deleg.h')
0 files changed, 0 insertions, 0 deletions