mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
OpenZFS 7230 - add assertions to dmu_send_impl() to verify that stream includes BEGIN and END records
Authored by: Matt Krantz <matt.krantz@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Approved by: Robert Mustacchi <rm@joyent.com> Ported-by: kernelOfTruth <kerneloftruth@gmail.com> OpenZFS-issue: https://www.illumos.org/issues/7230 OpenZFS-commit: https://github.com/illumos/illumos-gate/commit/12b90ee2 Closes #5112
This commit is contained in:
committed by
Brian Behlendorf
parent
5df39c1e43
commit
51907a31bc
@@ -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 *);
|
||||
|
||||
Reference in New Issue
Block a user