diff options
author | Matthew Ahrens <[email protected]> | 2020-04-23 10:06:57 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-23 10:06:57 -0700 |
commit | 196bee4cfd576fb15baa6a64ad6501c594f45497 (patch) | |
tree | b0a30594c38416a426e691544beecd7731feb742 /man/man8/zfs-receive.8 | |
parent | 70e5ad31f6425868b8a173bbc2be4ef08a8d949b (diff) |
Remove deduplicated send/receive code
Deduplicated send streams (i.e. `zfs send -D` and `zfs receive` of such
streams) are deprecated. Deduplicated send streams can be received by
first converting them to non-deduplicated with the `zstream redup`
command.
This commit removes the code for sending and receiving deduplicated send
streams. `zfs send -D` will now print a warning, ignore the `-D` flag,
and generate a regular (non-deduplicated) send stream. `zfs receive` of
a deduplicated send stream will print an error message and fail.
The resulting code simplification (especially in the kernel's support
for receiving dedup streams) should help enable future performance
enhancements.
Several new tests are added which leverage `zstream redup`.
Reviewed-by: Paul Dagnelie <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matthew Ahrens <[email protected]>
Issue #7887
Issue #10117
Issue #10156
Closes #10212
Diffstat (limited to 'man/man8/zfs-receive.8')
-rw-r--r-- | man/man8/zfs-receive.8 | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/man/man8/zfs-receive.8 b/man/man8/zfs-receive.8 index a60a5c7bb..2d799a2da 100644 --- a/man/man8/zfs-receive.8 +++ b/man/man8/zfs-receive.8 @@ -105,17 +105,11 @@ destroyed by using the .Nm zfs Cm destroy Fl d command. .Pp -Deduplicated send streams can be generated by using the -.Nm zfs Cm send Fl D +The ability to send and receive deduplicated send streams has been removed. +However, a deduplicated send stream created with older software can be converted +to a regular (non-deduplicated) stream by using the +.Nm zstream Cm redup command. -\fBThe ability to send and receive deduplicated send streams is deprecated.\fR -In the future, the ability to receive a deduplicated send stream with -.Nm zfs Cm receive -will be removed. -However, in the future, a utility will be provided to convert a -deduplicated send stream to a regular (non-deduplicated) stream. -This future utility will require that the send stream be located in a -seek-able file, rather than provided by a pipe. .Pp If .Fl o Em property Ns = Ns Ar value @@ -378,3 +372,4 @@ deleting its saved partially received state. .El .Sh SEE ALSO .Xr zfs-send 8 +.Xr zstream 8 |