[Bug 198457] zfs acl lost after zfs send-receive. Kernel panic
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Nov 3 03:10:48 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198457
--- Comment #8 from commit-hook at freebsd.org ---
A commit references this bug:
Author: mav
Date: Sat Nov 3 03:10:06 UTC 2018
New revision: 340096
URL: https://svnweb.freebsd.org/changeset/base/340096
Log:
9952 Block size change during zfs receive drops spill block
Replication code in receive_object() falsely assumes that if received
object block size is different from local, then it must be a new object
and calls dmu_object_reclaim() to wipe it out. In most cases it is not a
problem, since all dnode, bonus buffer and data block(s) are immediately
rewritten any way, but the problem is that spill block (if used) is not.
This means loss of ACLs, extended attributes, etc.
This issue can be triggered in very simple way:
1. create 4KB file with 10+ ACL entries;
2. take snapshot and send it to different dataset;
3. append another 4KB to the file;
4. take another snapshot and send incrementally;
5. witness ACL loss on receive side.
PR: 198457
Discussed with: mahrens
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
Changes:
head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_send.c
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-fs
mailing list