svn commit: r211932 - in head/sys/cddl: compat/opensolaris/kern
compat/opensolaris/sys contrib/opensolaris/uts/common
contrib/opensolaris/uts/common/fs/zfs
contrib/opensolaris/uts/common/fs/zfs/sys...
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sat Aug 28 17:40:54 UTC 2010
On Sat, Aug 28, 2010 at 09:24:11AM +0000, Martin Matuska wrote:
> Author: mm
> Date: Sat Aug 28 09:24:11 2010
> New Revision: 211932
> URL: http://svn.freebsd.org/changeset/base/211932
>
> Log:
> Import changes from OpenSolaris that provide
> - better ACL caching and speedup of ACL permission checks
> - faster handling of stat()
> - lowered mutex contention in the read/writer lock (rrwlock)
> - several related bugfixes
>
> Detailed information (OpenSolaris onnv changesets and Bug IDs):
>
> 9749:105f407a2680
> 6802734 Support for Access Based Enumeration (not used on FreeBSD)
> 6844861 inconsistent xattr readdir behavior with too-small buffer
>
> 9866:ddc5f1d8eb4e
> 6848431 zfs with rstchown=0 or file_chown_self privilege allows user to "take" ownership
>
> 9981:b4907297e740
> 6775100 stat() performance on files on zfs should be improved
> 6827779 rrwlock is overly protective of its counters
>
> 10143:d2d432dfe597
> 6857433 memory leaks found at: zfs_acl_alloc/zfs_acl_node_alloc
> 6860318 truncate() on zfsroot succeeds when file has a component of its path set without access permission
>
> 10232:f37b85f7e03e
> 6865875 zfs sometimes incorrectly giving search access to a dir
>
> 10250:b179ceb34b62
> 6867395 zpool_upgrade_007_pos testcase panic'd with BAD TRAP: type=e (#pf Page fault)
>
> 10269:2788675568fd
> 6868276 zfs_rezget() can be hazardous when znode has a cached ACL
>
> 10295:f7a18a1e9610
> 6870564 panic in zfs_getsecattr
>
> Approved by: delphij (mentor)
> Obtained from: OpenSolaris (multiple Bug IDs)
> MFC after: 2 weeks
[...]
> --- head/sys/cddl/contrib/opensolaris/uts/common/Makefile.files Sat Aug 28 08:59:55 2010 (r211931)
> +++ head/sys/cddl/contrib/opensolaris/uts/common/Makefile.files Sat Aug 28 09:24:11 2010 (r211932)
> @@ -19,6 +19,9 @@
> # CDDL HEADER END
> #
>
> +ZUT_OBJS += \
> + zut.o
> +
> #
> # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
> # Use is subject to license terms.
[...]
> --- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/rrwlock.c Sat Aug 28 08:59:55 2010 (r211931)
> +++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/rrwlock.c Sat Aug 28 09:24:11 2010 (r211932)
[...]
> @@ -84,7 +82,7 @@ rrn_find(rrwlock_t *rrl)
> rrw_node_t *rn;
>
> if (refcount_count(&rrl->rr_linked_rcount) == 0)
> - return (NULL);
> + return (B_FALSE);
>
> for (rn = tsd_get(rrw_tsd_key); rn != NULL; rn = rn->rn_next) {
> if (rn->rn_rrl == rrl)
Those two chunks are incorrect, please consult my p4 branch.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20100828/5e6320c5/attachment.pgp
More information about the svn-src-head
mailing list