diff options
author | Alexander Stetsenko <[email protected]> | 2011-10-16 08:41:05 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2011-10-18 11:18:14 -0700 |
commit | 8d35c1499de42a1910ac1bb3a9c537ddc43c7d4d (patch) | |
tree | ecbc982b56c51d6a4c021ab56db50171359cdde3 /include/sys | |
parent | b385d7da6e3d21f0c0c23bf85212fe48758758c9 (diff) |
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 <[email protected]>
Reviewed by: Garrett D`Amore <[email protected]>
Reviewed by: Gordon Ross <[email protected]>
Approved by: Gordon Ross <[email protected]>
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 <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #372
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/dmu.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 *, |