freebsd-dev/uts
Alexander Motin 6ee1596f02 7247 zfs receive of deduplicated stream fails
This resolves two 'zfs recv' issues. First, when receiving into an
existing filesystem, a snapshot created during the receive process is
not added to the guid->dataset map for the stream, resulting in failed
lookups for deduped streams when a WRITE_BYREF record refers to a
snapshot received earlier in the stream. Second, the newly created
snapshot was also not set properly, referencing the snapshot before the
new receiving dataset rather than the existing filesystem.

Closes #159

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Author: Chris Williamson <chris.williamson@delphix.com>

openzfs/openzfs@b09697c8c1
2016-09-03 10:50:43 +00:00
..
common 7247 zfs receive of deduplicated stream fails 2016-09-03 10:50:43 +00:00
intel Import fasttrap_isa.c from OpenSolaris. 2010-07-06 10:22:17 +00:00
sparc 5045 use atomic_{inc,dec}_* instead of atomic_add_* 2014-08-20 06:22:59 +00:00