Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Nov 2018 03:10:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 198457] zfs acl lost after zfs send-receive. Kernel panic
Message-ID:  <bug-198457-3630-CfUBsbhxwY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-198457-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-198457-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198457

--- Comment #8 from commit-hook@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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198457-3630-CfUBsbhxwY>