Skip to content

Commit d17124d

Browse files
committed
Comments & Enhancements for send
1 parent a79a41d commit d17124d

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

ioctl/wrappers.go

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,10 +454,19 @@ type SendOptions struct {
454454
// From can optionally contain an older snapshot for an incremental send
455455
From string `nvlist:"fromsnap,omitempty"`
456456

457+
// FromBookmark can optionally contain a bookmark which is used to reduce the amount of data sent
458+
FromBookmark string `nvlist:"redactbook,omitempty"`
459+
457460
// These enable individual features for the send stream
458461
LargeBlocks bool `nvlist:"largeblockok"`
459-
Embed bool `nvlist:"embedok"`
460-
Compress bool `nvlist:"compress"`
462+
// Allows DRR_WRITE_EMBEDDED
463+
Embed bool `nvlist:"embedok"`
464+
// Allows compressed DRR_WRITE
465+
Compress bool `nvlist:"compress"`
466+
// Allows raw encrypted records
467+
Raw bool `nvlist:"rawok"`
468+
// Send a partially received snapshot
469+
Saved bool `nvlist:"savedok"`
461470

462471
// These can optionally be set to resume a transfer (ZoL 0.7+)
463472
ResumeObject uint64 `nvlist:"resume_object,omitempty"`

0 commit comments

Comments
 (0)