DLPX-40252 integrate EP-476 compressed zfs send/receive

Authored by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Tom Caputi <tcaputi@datto.com>
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Ported by: David Quigley <david.quigley@intel.com>
Issue #5078
This commit is contained in:
Dan Kimmel
2016-07-11 13:45:52 -04:00
committed by Brian Behlendorf
parent d3c2ae1c08
commit 2aa34383b9
24 changed files with 1062 additions and 550 deletions
+35 -3
View File
@@ -175,7 +175,7 @@ zfs \- configures ZFS file systems
.LP
.nf
\fBzfs\fR \fBsend\fR [\fB-DnPpRveL\fR] [\fB-\fR[\fBiI\fR] \fIsnapshot\fR] \fIsnapshot\fR
\fBzfs\fR \fBsend\fR [\fB-DnPpRveLc\fR] [\fB-\fR[\fBiI\fR] \fIsnapshot\fR] \fIsnapshot\fR
.fi
.LP
@@ -2687,7 +2687,7 @@ See \fBzpool-features\fR(5) for details on ZFS feature flags and the
.sp
.ne 2
.na
\fBzfs send\fR [\fB-DnPpRveL\fR] [\fB-\fR[\fBiI\fR] \fIsnapshot\fR] \fIsnapshot\fR
\fBzfs send\fR [\fB-DnPpRveLc\fR] [\fB-\fR[\fBiI\fR] \fIsnapshot\fR] \fIsnapshot\fR
.ad
.sp .6
.RS 4n
@@ -2768,6 +2768,22 @@ then the receiving system must have that feature enabled as well. See
\fBembedded_data\fR feature.
.RE
.sp
.ne 2
.na
\fB\fB-c\fR, \fB--compressed\fR\fR
.ad
.sp .6
.RS 4n
Generate a more compact stream by using compressed WRITE records for blocks
which are compressed on disk and in memory (see the \fBcompression\fR property
for details). If the \fBlz4_compress\fR feature is active on the sending
system, then the receiving system must have that feature enabled as well. If
the \fBlarge_blocks\fR feature is enabled on the sending system but the \fB-L\fR
option is not supplied in conjunction with \fB-c\fR, then the data will be
decompressed before sending so it can be split into smaller block sizes.
.RE
.sp
.ne 2
.na
@@ -2820,7 +2836,7 @@ The format of the stream is committed. You will be able to receive your streams
.sp
.ne 2
.na
\fBzfs send\fR [\fB-Le\fR] [\fB-i\fR \fIsnapshot\fR|\fIbookmark\fR] \fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR
\fBzfs send\fR [\fB-Lec\fR] [\fB-i\fR \fIsnapshot\fR|\fIbookmark\fR] \fIfilesystem\fR|\fIvolume\fR|\fIsnapshot\fR
.ad
.sp .6
.RS 4n
@@ -2862,6 +2878,22 @@ then the receiving system must have that feature enabled as well. See
\fBembedded_data\fR feature.
.RE
.sp
.ne 2
.na
\fB\fB-c\fR, \fB--compressed\fR\fR
.ad
.sp .6
.RS 4n
Generate a more compact stream by using compressed WRITE records for blocks
which are compressed on disk and in memory (see the \fBcompression\fR property
for details). If the \fBlz4_compress\fR feature is active on the sending
system, then the receiving system must have that feature enabled as well. If
the \fBlarge_blocks\fR feature is enabled on the sending system but the \fB-L\fR
option is not supplied in conjunction with \fB-c\fR, then the data will be
decompressed before sending so it can be split into smaller block sizes.
.RE
.sp
.ne 2
.na