]> git.proxmox.com Git - mirror_zfs.git/commit
Illumos 5162 - zfs recv should use loaned arc buffer to avoid copy
authorMatthew Ahrens <mahrens@delphix.com>
Sat, 13 Sep 2014 14:02:18 +0000 (16:02 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 21 Oct 2014 23:32:11 +0000 (16:32 -0700)
commit88904bb3e3f4a385108343aee1ac7ee0d83e25dc
tree91f71bcca3386322376a822eea970bc5d7200c26
parent4b20a6f50999366b9ea17180838235c7733e5a53
Illumos 5162 - zfs recv should use loaned arc buffer to avoid copy

5162 zfs recv should use loaned arc buffer to avoid copy
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Bayard Bell <Bayard.Bell@nexenta.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Approved by: Garrett D'Amore <garrett@damore.org>

References:
  https://www.illumos.org/issues/5162
  https://github.com/illumos/illumos-gate/commit/8a90470

Porting notes:
  Fix spelling error 's/arena/area/' in dmu.c.
  In restore_write() declare bonus and abuf at the top of the function.

Ported by: Turbo Fredriksson <turbo@bayour.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2696
module/zfs/dmu.c
module/zfs/dmu_send.c