]> granicus.if.org Git - zfs/commit
OpenZFS 7252 - compressed zfs send / receive
authorDan Kimmel <dan.kimmel@delphix.com>
Tue, 11 Apr 2017 21:56:54 +0000 (21:56 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 26 Apr 2017 19:31:43 +0000 (12:31 -0700)
commita7004725d0ad52fa005c29f68ce55273f11d95ac
treec91bcf6ef57512d1188ded6009dde602286cab3a
parent7a25f0891eef4adbe00dd03e26b6128dc99e170d
OpenZFS 7252 - compressed zfs send / receive

OpenZFS 7252 - compressed zfs send / receive
OpenZFS 7628 - create long versions of ZFS send / receive options

Authored by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: John Kennedy <john.kennedy@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>
Reviewed by: David Quigley <dpquigl@davequigley.com>
Reviewed by: Thomas Caputi <tcaputi@datto.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Reviewed by: David Quigley <dpquigl@davequigley.com>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Ported-by: bunder2015 <omfgbunder@gmail.com>
Ported-by: Don Brady <don.brady@intel.com>
Ported-by: Brian Behlendorf <behlendorf1@llnl.gov>
Porting Notes:
- Most of 7252 was already picked up during ABD work.  This
  commit represents the gap from the final commit to openzfs.
- Fixed split_large_blocks check in do_dump()
- An alternate version of the write_compressible() function was
  implemented for Linux which does not depend on fio.  The behavior
  of fio differs significantly based on the exact version.
- mkholes was replaced with truncate for Linux.

OpenZFS-issue: https://www.illumos.org/issues/7252
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/5602294
Closes #6067
41 files changed:
cmd/zfs/zfs_main.c
cmd/zstreamdump/zstreamdump.c
lib/libzfs_core/libzfs_core.c
man/man8/zfs.8
module/zfs/arc.c
module/zfs/dbuf.c
module/zfs/dmu.c
module/zfs/dmu_send.c
module/zfs/lz4.c
tests/runfiles/linux.run
tests/zfs-tests/include/commands.cfg
tests/zfs-tests/include/libtest.shlib
tests/zfs-tests/include/math.shlib
tests/zfs-tests/include/properties.shlib
tests/zfs-tests/tests/functional/rsend/Makefile.am
tests/zfs-tests/tests/functional/rsend/rsend.cfg
tests/zfs-tests/tests/functional/rsend/rsend.kshlib
tests/zfs-tests/tests/functional/rsend/rsend_019_pos.ksh
tests/zfs-tests/tests/functional/rsend/rsend_020_pos.ksh
tests/zfs-tests/tests/functional/rsend/rsend_021_pos.ksh
tests/zfs-tests/tests/functional/rsend/rsend_022_pos.ksh
tests/zfs-tests/tests/functional/rsend/rsend_024_pos.ksh
tests/zfs-tests/tests/functional/rsend/send-cD.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-c_embedded_blocks.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-c_incremental.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-c_lz4_disabled.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-c_mixed_compression.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-c_props.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-c_recv_dedup.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-c_recv_lz4_disabled.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-c_resume.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-c_stream_size_estimate.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-c_verify_contents.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-c_verify_ratio.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-c_volume.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-c_zstreamdump.ksh [new file with mode: 0755]
tests/zfs-tests/tests/functional/rsend/send-cpL_varied_recsize.ksh [new file with mode: 0755]
tests/zfs-tests/tests/perf/fio/mkfiles.fio
tests/zfs-tests/tests/perf/fio/random_readwrite.fio
tests/zfs-tests/tests/perf/fio/random_writes.fio
tests/zfs-tests/tests/perf/fio/sequential_writes.fio