From 8d35c1499de42a1910ac1bb3a9c537ddc43c7d4d Mon Sep 17 00:00:00 2001 From: Alexander Stetsenko Date: Sun, 16 Oct 2011 08:41:05 +0200 Subject: 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 Reviewed by: Garrett D`Amore Reviewed by: Gordon Ross Approved by: Gordon Ross 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 Signed-off-by: Brian Behlendorf Closes #372 --- include/sys/dmu.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/sys/dmu.h b/include/sys/dmu.h index 20733f502..da1aa30fc 100644 --- a/include/sys/dmu.h +++ b/include/sys/dmu.h @@ -721,6 +721,7 @@ typedef struct dmu_recv_cookie { char *drc_top_ds; boolean_t drc_newfs; boolean_t drc_force; + struct avl_tree *drc_guid_to_ds_map; } dmu_recv_cookie_t; int dmu_recv_begin(char *tofs, char *tosnap, char *topds, struct drr_begin *, -- cgit v1.2.3