diff options
author | LOLi <[email protected]> | 2017-01-14 00:47:34 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-01-13 15:47:34 -0800 |
commit | 08f0510d87186575db00269fff17a3409de5ceb6 (patch) | |
tree | 21938c4d405161079020ef9d1a47c1b55d677d7b /OPENSOLARIS.LICENSE | |
parent | 5043684ae51195fc8b7ce7ff15241f17fe23d993 (diff) |
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 <[email protected]>
Signed-off-by: Ned Bass <[email protected]>
Signed-off-by: loli10K <[email protected]>
Closes #5027
Closes #5532
Diffstat (limited to 'OPENSOLARIS.LICENSE')
0 files changed, 0 insertions, 0 deletions