Please sign in to comment.
Prefer non-zero split versions for reconstruction
As optimization when performing split block reconstruction prefer non-zero versions of the splits. The reasoning behind this is that zeroed splits are unlikely to be correct since most blocks are expected to either be compressed or encrypted. A zeroed split version is most likely never written previously free space. This case was observed when running ztest which uses sparse files. Signed-off-by: Brian Behlendorf <email@example.com>
- Loading branch information...
Showing with 64 additions and 17 deletions.