]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFV r302644: 6513 partially filled holes lose birth time
authorAndriy Gapon <avg@FreeBSD.org>
Thu, 14 Jul 2016 11:48:42 +0000 (11:48 +0000)
committerAndriy Gapon <avg@FreeBSD.org>
Thu, 14 Jul 2016 11:48:42 +0000 (11:48 +0000)
commitfe0cc75230c4c07012cbfde9b44241d07c05092a
tree5e1de737a2c11e9dc197e8688c0f08e99904241d
parente7ed92bbbc49add28900535bc8af3afb90c93035
parent89ee42219aecc70defd2cd72bc6b3204f59523e5
MFV r302644: 6513 partially filled holes lose birth time

illumos/illumos-gate@8df0bcf0df7622a075cc6e52f659d2fcfdd08cdc
https://github.com/illumos/illumos-gate/commit/8df0bcf0df7622a075cc6e52f659d2fcfdd08cdc

https://www.illumos.org/issues/6513
  If a ZFS object contains a hole at level one, and then a data block is created
  at level 0 underneath that l1 block, l0 holes will be created. However, these
  l0 holes do not have the birth time property set; as a result, incremental
  sends will not send those holes.
  Fix is to modify the dbuf_read code to fill in birth time data.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Boris Protopopov <bprotopopov@hotmail.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Author: Paul Dagnelie <pcd@delphix.com>
MFC after: 3 weeks
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dbuf.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_objset.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dnode_sync.c
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/arc.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio.h
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c