diff options
author | Fabian Grünbichler <[email protected]> | 2017-09-29 12:00:29 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-10-10 15:30:51 -0700 |
commit | 48fbb9ddbf2281911560dfbc2821aa8b74127315 (patch) | |
tree | 750c769c63de3dda2f0bf15d0446c052f1c67374 /include/sys/dmu_send.h | |
parent | aee1dd4d983c64db3c3155290d48f05243e85709 (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.h | 1 |
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; |