]> git.proxmox.com Git - mirror_zfs.git/commit
Fix data corruption when cloning embedded blocks
authorPawel Jakub Dawidek <pawel@dawidek.net>
Wed, 12 Apr 2023 23:15:05 +0000 (08:15 +0900)
committerGitHub <noreply@github.com>
Wed, 12 Apr 2023 23:15:05 +0000 (16:15 -0700)
commitc71fe716401f6919068f84b389dcd1b7ec2b8b0e
tree8f22ad19bad969bcf8059215cf18c6bea635cfd4
parent6e015933f88fe7ba5de45cf263028de1ee04460a
Fix data corruption when cloning embedded blocks

Don't overwrite blk_phys_birth, as for embedded blocks it is part of
the payload.

Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Pawel Jakub Dawidek <pawel@dawidek.net>
Issue #13392
Closes #14739
module/zfs/dmu.c