]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFV r337175: 9487 Free objects when receiving full stream as clone
authorAlexander Motin <mav@FreeBSD.org>
Thu, 2 Aug 2018 20:33:13 +0000 (20:33 +0000)
committerAlexander Motin <mav@FreeBSD.org>
Thu, 2 Aug 2018 20:33:13 +0000 (20:33 +0000)
commit5463ca24bff82c4a3acc4bd64ce8006a74940ec1
tree910b664b37edc5b6a36f618447d4858a943600af
parent0485d5cba8392a27b5f65cd03a04065122618f66
parentabb5258c34e79c0219d8353022e4415608169103
MFV r337175: 9487 Free objects when receiving full stream as clone

All objects after the last written or freed object are not supposed to
exist after receiving the stream. We should free them accordingly, as if
a freeobjects record for them had been included in the stream.

zfsonlinux/zfs@48fbb9ddbf2281911560dfbc2821aa8b74127315
illumos/illumos-gate@7864b8192b8d30471fa2240466d516292e5765b8

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Author:     Paul Dagnelie <pcd@delphix.com>
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_send.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu_send.h