summaryrefslogtreecommitdiffstats
path: root/include/sys/dmu_send.h
diff options
context:
space:
mode:
authorFabian Grünbichler <[email protected]>2017-09-29 12:00:29 +0200
committerBrian Behlendorf <[email protected]>2017-10-10 15:30:51 -0700
commit48fbb9ddbf2281911560dfbc2821aa8b74127315 (patch)
tree750c769c63de3dda2f0bf15d0446c052f1c67374 /include/sys/dmu_send.h
parentaee1dd4d983c64db3c3155290d48f05243e85709 (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/sys/dmu_send.h')
-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 081d3dd78..19d9a2d44 100644
--- a/include/sys/dmu_send.h
+++ b/include/sys/dmu_send.h
@@ -62,6 +62,7 @@ typedef struct dmu_recv_cookie {
boolean_t drc_force;
boolean_t drc_resumable;
boolean_t drc_raw;
+ boolean_t drc_clone;
struct avl_tree *drc_guid_to_ds_map;
zio_cksum_t drc_cksum;
uint64_t drc_newsnapobj;