Illumos #755: dmu_recv_stream builds incomplete guid_to_ds_map
authorAlexander Stetsenko <ams@nexenta.com>
Sun, 16 Oct 2011 06:41:05 +0000 (08:41 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 18 Oct 2011 18:18:14 +0000 (11:18 -0700)
commit8d35c1499de42a1910ac1bb3a9c537ddc43c7d4d
treeecbc982b56c51d6a4c021ab56db50171359cdde3
parentb385d7da6e3d21f0c0c23bf85212fe48758758c9
Illumos #755: dmu_recv_stream builds incomplete guid_to_ds_map

An incomplete guid_to_ds_map would cause restore_write_byref() to fail
while receiving a de-duplicated backup stream.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Garrett D`Amore <garrett@nexenta.com>
Reviewed by: Gordon Ross <gwr@nexenta.com>
Approved by: Gordon Ross <gwr@nexenta.com>

References to Illumos issue and patch:
- https://www.illumos.org/issues/755
- https://github.com/illumos/illumos-gate/commit/ec5cf9d53a

Signed-off-by: Gunnar Beutner <gunnar@beutner.name>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #372
include/sys/dmu.h
module/zfs/dmu_send.c