]> git.proxmox.com Git - mirror_zfs.git/commit - cmd/ztest/ztest.c
Optimize possible split block search space
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 29 Mar 2018 21:50:40 +0000 (14:50 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 14 Apr 2018 19:22:43 +0000 (12:22 -0700)
commit4589f3ae4c1bb435777da8640eb915f3c713b14d
treef37cbdab9cd98778a1aceac9cb2b87a302920983
parent9e052db4627ca945db1e3fa63ed81b156d9d7562
Optimize possible split block search space

Remove duplicate segment copies to minimize the possible search
space for reconstruction.  Once reduced an accurate assessment can
be made regarding the difficulty in reconstructing the block.

Also, ztest will now run zdb with
zfs_reconstruct_indirect_combinations_max set to 1000000 in an attempt
to avoid checksum errors.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6900
cmd/ztest/ztest.c
man/man5/zfs-module-parameters.5
module/zfs/vdev_indirect.c