summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFabian Grünbichler <[email protected]>2017-09-29 12:00:29 +0200
committerTony Hutter <[email protected]>2017-10-16 10:57:55 -0700
commitb544fe4123167e15bb0687e3918e8569a55fed3e (patch)
tree7bdd452a7831494f0374df90ce31da558b1dfeca /include
parent926c6ec4530ed57edada2a1e9528b367b0a58c07 (diff)
Free objects when receiving full stream as clone
All objects after the last written or freed object are not supposed to exist after receiving the stream. Free them accordingly, as if a freeobjects record for them had been included in the stream. Reviewed by: Paul Dagnelie <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Fabian Grünbichler <[email protected]> Closes #5699 Closes #6507 Closes #6616
Diffstat (limited to 'include')
-rw-r--r--include/sys/dmu_send.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/dmu_send.h b/include/sys/dmu_send.h
index e9bef8bdd..5cf67a6ab 100644
--- a/include/sys/dmu_send.h
+++ b/include/sys/dmu_send.h
@@ -61,6 +61,7 @@ typedef struct dmu_recv_cookie {
boolean_t drc_byteswap;
boolean_t drc_force;
boolean_t drc_resumable;
+ boolean_t drc_clone;
struct avl_tree *drc_guid_to_ds_map;
zio_cksum_t drc_cksum;
uint64_t drc_newsnapobj;