]> git.proxmox.com Git - mirror_zfs.git/commit - module/zfs/dmu_send.c
Illumos 5746 - more checksumming in zfs send
authorMatthew Ahrens <mahrens@delphix.com>
Mon, 6 Jul 2015 03:20:31 +0000 (05:20 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 30 Dec 2015 22:24:14 +0000 (14:24 -0800)
commit37f8a8835a88da6122e2526d6aaeeef75556a7bd
treeded281ddf4f846ce47185d86cf4cb01ba2525731
parent43b4935e5358806de18461f3ee92e07c67071eb5
Illumos 5746 - more checksumming in zfs send

5746 more checksumming in zfs send
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
Approved by: Albert Lee <trisk@omniti.com>

References:
  https://www.illumos.org/issues/5746
  https://github.com/illumos/illumos-gate/commit/98110f0
  https://github.com/zfsonlinux/zfs/issues/905

Porting notes:
- Minor conflicts due to:
  - https://github.com/zfsonlinux/zfs/commit/2024041
  - https://github.com/zfsonlinux/zfs/commit/044baf0
  - https://github.com/zfsonlinux/zfs/commit/88904bb
- Fix ISO C90 warnings (-Werror=declaration-after-statement)
  - arc_buf_t *abuf;
  - dmu_buf_t *bonus;
  - zio_cksum_t cksum_orig;
  - zio_cksum_t *cksump;
- Fix format '%llx' format specifier warning
- Align message in zstreamdump safe_malloc() with upstream

Ported-by: kernelOfTruth kerneloftruth@gmail.com
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3611
cmd/zstreamdump/zstreamdump.c
include/sys/spa.h
include/sys/zfs_ioctl.h
include/sys/zio_checksum.h
lib/libzfs/libzfs_sendrecv.c
module/zfs/dmu_send.c