freebsd-skq/sys
mav e8e83ea04f MFV r286224: 5695 dmu_sync'ed holes do not retain birth time
illumos/illumos-gate@70163ac57e

https://www.illumos.org/issues/5695
  In dmu_sync_ready(), a hole block pointer will have it's logical size
  explicitly set as it's necessary for replay purposes. To "undo" this,
  dmu_sync_done() will zero out any hole that it finds. This becomes a
  problem when using the "hole_birth" feature, as this will also wipe out
  any birth time that might have happened to be set on the hole.
  ...
  As a fix, the logic to zero out a hole is only applied to old style
  holes with a birth time of zero. Holes created with the "hole_birth"
  feature enabled will have a non-zero birth time, and will be skipped
  (thus preserving the ltime, type, and level information as well).
  In addition, zdb was updated to also print the ltime, type, and level
  information for these new style holes. Previously, only the logical
  birth time would be printed.

Author: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: George Wilson <george@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
2015-08-12 17:21:41 +00:00
..
amd64 Better support memory mapped console devices, such as VGA and EFI 2015-08-12 15:26:32 +00:00
arm Make this compile again when PPS_SYNC is defined. Also remove a couple 2015-08-11 19:25:26 +00:00
arm64 Add the CNTHCTL_EL2 register bits missed in r286674 2015-08-12 17:09:57 +00:00
boot Remove guards around overwriting loader.rc and menu.rc 2015-08-06 16:07:27 +00:00
bsm
cam Remove verbose CTL messages. 2015-08-09 09:54:29 +00:00
cddl MFV r286224: 5695 dmu_sync'ed holes do not retain birth time 2015-08-12 17:21:41 +00:00
compat Use CAP_EVENT instead of CAP_PDWAIT. 2015-08-12 11:07:03 +00:00
conf Better support memory mapped console devices, such as VGA and EFI 2015-08-12 15:26:32 +00:00
contrib If any function fail (the ptr variable will be equal to NULL), we shouldn't 2015-08-11 18:17:31 +00:00
crypto const'ify an arg that we don't update... 2015-07-29 23:37:15 +00:00
ddb Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
dev Add support for the Broadcom TruManage integrated serial port. 2015-08-12 15:48:14 +00:00
fs The changes that introduced fo_mmap() treated all character device 2015-08-06 16:50:37 +00:00
gdb CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
geom Clean out some externally visible "more then" grammar 2015-08-11 03:12:09 +00:00
gnu The GNU Amlogic DTS files have some errors (e.g. bad register 2015-04-11 08:17:39 +00:00
i386 Better support memory mapped console devices, such as VGA and EFI 2015-08-12 15:26:32 +00:00
isa
kern Properly return ENOTDIR when calling *at() on a non-vnode. 2015-08-12 16:17:00 +00:00
kgssapi
libkern Remove checks for __ARM_EABI__, we only build for EABI now. 2015-07-09 21:02:40 +00:00
mips Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
modules Build the iwm and iwmfw modules by default on x86. 2015-08-08 21:09:41 +00:00
net Use single 'lle_timer' callout in lltable instead of 2015-08-11 12:38:54 +00:00
net80211 Revert the wifi ifnet changes until things are more baked and tested. 2015-08-08 01:10:17 +00:00
netgraph * Address review (and add a bit myself). 2015-07-12 18:14:38 +00:00
netinet Remove unused TCPTV_SRTTDFLT. We initialize srtt with TCPTV_SRTTBASE when we 2015-08-12 16:08:37 +00:00
netinet6 Use single 'lle_timer' callout in lltable instead of 2015-08-11 12:38:54 +00:00
netipsec Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
netnatm
netpfil Use correct src/dst ports when removing states. 2015-08-11 17:24:34 +00:00
netsmb
nfs
nfsclient Remove some oldnfs remnants. 2015-04-18 16:08:06 +00:00
nfsserver
nlm
ofed ipv4_is_zeronet() and ipv4_is_loopback() expect an address in network 2015-08-07 18:30:11 +00:00
opencrypto Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
pc98 Remove unused i386 header privatespace.h. For the native kernel, its 2015-08-07 05:59:58 +00:00
powerpc Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
rpc Remove useless acquire semantic from the atomic_add operation before 2015-07-28 06:58:10 +00:00
security fd: make 'rights' a manadatory argument to fget* functions 2015-07-05 19:05:16 +00:00
sparc64 Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
sys Crunchgen needs to be bootstrapped to pick up the STRIP->STRIPBIN 2015-08-12 16:43:15 +00:00
teken
tools
ufs - Make 'struct buf *buf' private to vfs_bio.c. Having a global variable 2015-07-29 02:26:57 +00:00
vm Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
x86 Better support memory mapped console devices, such as VGA and EFI 2015-08-12 15:26:32 +00:00
xdr
xen Add support for Xen blkif indirect segment I/Os. This makes it possible for 2015-07-30 03:50:01 +00:00
Makefile Kill EoL whitespace. 2015-05-29 14:03:07 +00:00