summaryrefslogtreecommitdiffstats
path: root/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2016-10-14 07:36:32 +0000
committermav <mav@FreeBSD.org>2016-10-14 07:36:32 +0000
commit1f0d3f28f633152173320b8fbfbd9cc8133f0b9e (patch)
treeabc3f487c2701e68145a9450636f3528795f09ec /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
parenta4023802c4dae74ac55c8dc92a82ab0c7db4315d (diff)
downloadFreeBSD-src-1f0d3f28f633152173320b8fbfbd9cc8133f0b9e.zip
FreeBSD-src-1f0d3f28f633152173320b8fbfbd9cc8133f0b9e.tar.gz
MFC r305339: MFV r305336: 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@b09697c8c18be68abfe538de9809938239402ae8
Diffstat (limited to 'sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud