mirror_zfs/tests/zfs-tests
LOLi 08f0510d87 Fix unallocated object detection for large_dnode datasets
Fix dmu_object_next() to correctly handle unallocated objects on
large_dnode datasets.

We implement this by scanning the dnode block until we find the correct
offset to be used in dnode_next_offset(). This is necessary because we
can't assume *objectp is a hole even if dmu_object_info() returns
ENOENT.

This fixes a couple of issues with zfs receive on large_dnode datasets.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #5027 
Closes #5532
2017-01-13 15:47:34 -08:00
..
cmd Use cstyle -cpP in make cstyle check 2016-12-12 10:46:26 -08:00
include Fix spelling 2017-01-03 11:31:18 -06:00
tests Fix unallocated object detection for large_dnode datasets 2017-01-13 15:47:34 -08:00
Makefile.am Add the ZFS Test Suite 2016-03-16 13:46:16 -07:00