diff options
author | kernelOfTruth aka. kOT, Gentoo user <[email protected]> | 2016-09-23 01:01:19 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-09-22 16:01:19 -0700 |
commit | 51907a31bc20a6697ec9a92a58c163a0c0df5de7 (patch) | |
tree | 03df2a68ffe1d4bf42301082d07da9306e1ccfbb /include/sys | |
parent | 5df39c1e43e8d903ef4317e505cf85e64ef7e172 (diff) |
OpenZFS 7230 - add assertions to dmu_send_impl() to verify that stream includes BEGIN and END records
Authored by: Matt Krantz <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Paul Dagnelie <[email protected]>
Reviewed by: Igor Kozhukhov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Approved by: Robert Mustacchi <[email protected]>
Ported-by: kernelOfTruth <[email protected]>
OpenZFS-issue: https://www.illumos.org/issues/7230
OpenZFS-commit: https://github.com/illumos/illumos-gate/commit/12b90ee2
Closes #5112
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/dmu_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/dmu_impl.h b/include/sys/dmu_impl.h index 3e4423c8d..ae129b7cf 100644 --- a/include/sys/dmu_impl.h +++ b/include/sys/dmu_impl.h @@ -273,6 +273,8 @@ typedef struct dmu_sendarg { uint64_t dsa_last_data_offset; uint64_t dsa_resume_object; uint64_t dsa_resume_offset; + boolean_t dsa_sent_begin; + boolean_t dsa_sent_end; } dmu_sendarg_t; void dmu_object_zapify(objset_t *, uint64_t, dmu_object_type_t, dmu_tx_t *); |