svn commit: r286762 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-14 Thread Alexander Motin
Author: mav Date: Fri Aug 14 09:25:54 2015 New Revision: 286762 URL: https://svnweb.freebsd.org/changeset/base/286762 Log: Revert part of r205231, introducing multiple ARC state locks. This local implementation will be replaced by one from Illumos to reduce code divergence and make furthe

svn commit: r286763 - in head/sys: cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys conf

2015-08-14 Thread Alexander Motin
Author: mav Date: Fri Aug 14 09:31:07 2015 New Revision: 286763 URL: https://svnweb.freebsd.org/changeset/base/286763 Log: MFV r277431: 5497 lock contention on arcs_mtx Reviewed by: George Wilson Reviewed by: Matthew Ahrens Reviewed by: Richard Elling Approved by: Dan McDonald A

svn commit: r286764 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-14 Thread Alexander Motin
Author: mav Date: Fri Aug 14 09:33:46 2015 New Revision: 286764 URL: https://svnweb.freebsd.org/changeset/base/286764 Log: MFV r285025: 6033 arc_adjust() should search MFU lists for oldest buffer when adjusting MFU size. illumos/illumos-gate@31c46cf23cd1cf4d66390a983dc5072d7d299ba2 h

svn commit: r286766 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-14 Thread Alexander Motin
Author: mav Date: Fri Aug 14 09:39:23 2015 New Revision: 286766 URL: https://svnweb.freebsd.org/changeset/base/286766 Log: MFV r286765: 5817 change type of arcs_size from uint64_t to refcount_t Reviewed by: Matthew Ahrens Reviewed by: Paul Dagnelie Reviewed by: Adam Leventhal Revie

Re: svn commit: r286763 - in head/sys: cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys conf

2015-08-14 Thread Andriy Gapon
On 14/08/2015 12:31, Alexander Motin wrote: > Author: mav > Date: Fri Aug 14 09:31:07 2015 > New Revision: 286763 > URL: https://svnweb.freebsd.org/changeset/base/286763 > > Log: > MFV r277431: 5497 lock contention on arcs_mtx > > Reviewed by: George Wilson > Reviewed by: Matthew Ahrens

Re: svn commit: r286763 - in head/sys: cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys conf

2015-08-14 Thread Alexander Motin
On 14.08.2015 12:39, Andriy Gapon wrote: > On 14/08/2015 12:31, Alexander Motin wrote: >> Author: mav >> Date: Fri Aug 14 09:31:07 2015 >> New Revision: 286763 >> URL: https://svnweb.freebsd.org/changeset/base/286763 >> >> Log: >> MFV r277431: 5497 lock contention on arcs_mtx >> >> Reviewed

Re: svn commit: r286763 - in head/sys: cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys conf

2015-08-14 Thread Andriy Gapon
On 14/08/2015 12:42, Alexander Motin wrote: > On 14.08.2015 12:39, Andriy Gapon wrote: >> On 14/08/2015 12:31, Alexander Motin wrote: >>> Author: mav >>> Date: Fri Aug 14 09:31:07 2015 >>> New Revision: 286763 >>> URL: https://svnweb.freebsd.org/changeset/base/286763 >>> >>> Log: >>> MFV r277431:

svn commit: r286767 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-14 Thread Alexander Motin
Author: mav Date: Fri Aug 14 09:48:23 2015 New Revision: 286767 URL: https://svnweb.freebsd.org/changeset/base/286767 Log: Fix minor mismerge sometimes earlier. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/a

svn commit: r286768 - head/sys/arm64/arm64

2015-08-14 Thread Andrew Turner
Author: andrew Date: Fri Aug 14 09:55:25 2015 New Revision: 286768 URL: https://svnweb.freebsd.org/changeset/base/286768 Log: Add support for bus_space_read_region and bus_space_write_region. This is needed for the dwc USB controller driver. Sponsored by: ABT Systems Ltd Modified: head

Re: svn commit: r286570 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2015-08-14 Thread Andriy Gapon
On 10/08/2015 13:34, Alexander Motin wrote: > Author: mav > Date: Mon Aug 10 10:34:23 2015 > New Revision: 286570 > URL: https://svnweb.freebsd.org/changeset/base/286570 > > Log: > MFV r277426: 5408 managing ZFS cache devices requires lots of RAM > Reviewed by: Christopher Siden > Reviewed

Re: svn commit: r286760 - in head/lib/libc: . secure sys

2015-08-14 Thread Konstantin Belousov
On Fri, Aug 14, 2015 at 03:03:14AM +, Pedro F. Giffuni wrote: > +/* > + * It'd be nice to have this automatically generated, but we don't > + * know to what version they will eventually belong, so for now > + * it has to be manual. > + */ The comment does not make a bit of sense. It also raises

Re: svn commit: r286623 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-14 Thread Andriy Gapon
On 11/08/2015 12:18, Alexander Motin wrote: > Author: mav > Date: Tue Aug 11 09:18:51 2015 > New Revision: 286623 > URL: https://svnweb.freebsd.org/changeset/base/286623 > > Log: > Remove extra lock, that IMO only creates potential problems now. > > Modified: > head/sys/cddl/contrib/opensolar

svn commit: r286770 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-14 Thread Alexander Motin
Author: mav Date: Fri Aug 14 11:47:53 2015 New Revision: 286770 URL: https://svnweb.freebsd.org/changeset/base/286770 Log: Fix r286766 build with debug. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c ===

Re: svn commit: r286760 - in head/lib/libc: . secure sys

2015-08-14 Thread Pedro Giffuni
Hello; > Il giorno 14/ago/2015, alle ore 06:24, Konstantin Belousov > ha scritto: > > On Fri, Aug 14, 2015 at 03:03:14AM +, Pedro F. Giffuni wrote: >> +/* >> + * It'd be nice to have this automatically generated, but we don't >> + * know to what version they will eventually belong, so for n

Re: svn commit: r286760 - in head/lib/libc: . secure sys

2015-08-14 Thread Konstantin Belousov
On Fri, Aug 14, 2015 at 07:02:25AM -0500, Pedro Giffuni wrote: > Hello; > > > Il giorno 14/ago/2015, alle ore 06:24, Konstantin Belousov > > ha scritto: > > > > On Fri, Aug 14, 2015 at 03:03:14AM +, Pedro F. Giffuni wrote: > >> +/* > >> + * It'd be nice to have this automatically generated,

Re: svn commit: r286768 - head/sys/arm64/arm64

2015-08-14 Thread Hans Petter Selasky
On 08/14/15 11:55, Andrew Turner wrote: Author: andrew Date: Fri Aug 14 09:55:25 2015 New Revision: 286768 URL: https://svnweb.freebsd.org/changeset/base/286768 Log: Add support for bus_space_read_region and bus_space_write_region. This is needed for the dwc USB controller driver. Spon

svn commit: r286773 - in head/sys: boot/kshim dev/usb dev/usb/controller

2015-08-14 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 14 12:57:53 2015 New Revision: 286773 URL: https://svnweb.freebsd.org/changeset/base/286773 Log: Improve the realtime properties of USB transfers for embedded systems like RPI-B and RPI-2. Description of problem: USB transfers can process data in their cal

svn commit: r286774 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-14 Thread Alexander Motin
Author: mav Date: Fri Aug 14 13:10:30 2015 New Revision: 286774 URL: https://svnweb.freebsd.org/changeset/base/286774 Log: 2618 arc.c mistypes in the comments Reviewed by: Jason King Reviewed by: Josef Sipek Approved by: Richard Lowe Author: Bart Coddens illumos/illumos-gate@

svn commit: r286775 - in head/usr.sbin/pw: . tests

2015-08-14 Thread Baptiste Daroussin
Author: bapt Date: Fri Aug 14 13:39:55 2015 New Revision: 286775 URL: https://svnweb.freebsd.org/changeset/base/286775 Log: Regression: fix pw usermod -w xxx Reported by: gjb Modified: head/usr.sbin/pw/pw_user.c head/usr.sbin/pw/tests/pw_useradd.sh Modified: head/usr.sbin/pw/pw_user.

svn commit: r286776 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-14 Thread Alexander Motin
Author: mav Date: Fri Aug 14 13:43:12 2015 New Revision: 286776 URL: https://svnweb.freebsd.org/changeset/base/286776 Log: Remove some random accumulated diff from Illumos. Submitted by: avg (partially) Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Modified: head/s

svn commit: r286777 - head/sys/x86/iommu

2015-08-14 Thread Konstantin Belousov
Author: kib Date: Fri Aug 14 13:51:59 2015 New Revision: 286777 URL: https://svnweb.freebsd.org/changeset/base/286777 Log: Comment only change, fix grammar and somewhat clarify the action. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/x86/iommu/intel_idpg

svn commit: r286778 - head/sys/dev/usb/controller

2015-08-14 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 14 13:58:18 2015 New Revision: 286778 URL: https://svnweb.freebsd.org/changeset/base/286778 Log: Minor code refactor to avoid duplicating code. MFC after:2 weeks Modified: head/sys/dev/usb/controller/dwc_otg.c Modified: head/sys/dev/usb/controller/dwc_

svn commit: r286779 - head/contrib/compiler-rt/lib/builtins

2015-08-14 Thread Andrew Turner
Author: andrew Date: Fri Aug 14 14:17:04 2015 New Revision: 286779 URL: https://svnweb.freebsd.org/changeset/base/286779 Log: Use __builtin_clzll to count the leading zero bits, the data is based on long long so __builtin_clz will return an incorrect value. Reviewed by: emaste Differen

svn commit: r286780 - head/sys/dev/usb/controller

2015-08-14 Thread Hans Petter Selasky
Author: hselasky Date: Fri Aug 14 14:20:10 2015 New Revision: 286780 URL: https://svnweb.freebsd.org/changeset/base/286780 Log: Handle NYET high speed tokens and predict NAK'ing is up next. MFC after:2 weeks Modified: head/sys/dev/usb/controller/dwc_otg.c Modified: head/sys/dev/usb/

Re: svn commit: r277419 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-14 Thread Andriy Gapon
On 20/01/2015 15:09, Alexander Motin wrote: > Author: mav > Date: Tue Jan 20 13:09:12 2015 > New Revision: 277419 > URL: https://svnweb.freebsd.org/changeset/base/277419 > > Log: > Allow skipping dmu_buf_will_dirty() call in dsl_dir_transfer_space(). > > dsl_dir_transfer_space() is mostly c

svn commit: r286781 - head/sys/netinet

2015-08-14 Thread Michael Tuexen
Author: tuexen Date: Fri Aug 14 14:26:13 2015 New Revision: 286781 URL: https://svnweb.freebsd.org/changeset/base/286781 Log: Allow the path MTU to grow up to the outgoing interface MTU. MFC after: 3 days Modified: head/sys/netinet/sctp_timer.c Modified: head/sys/netinet/sctp_timer.c ==

svn commit: r286782 - in head/lib/libc: secure sys

2015-08-14 Thread Pedro F. Giffuni
Author: pfg Date: Fri Aug 14 14:58:04 2015 New Revision: 286782 URL: https://svnweb.freebsd.org/changeset/base/286782 Log: Remove a stale comment and clarify the original where it was taken from The comment in the libc/sys symbol map referenced the generated symbols for the syscall trampo

svn commit: r286783 - in head/sys/arm: broadcom/bcm2835 versatile

2015-08-14 Thread Ian Lepore
Author: ian Date: Fri Aug 14 16:48:07 2015 New Revision: 286783 URL: https://svnweb.freebsd.org/changeset/base/286783 Log: Use simple fixed name strings for these timecounters and eventimers which are tied to fixed pieces of hardware; dynamic string formatting isn't needed. Modified: head/s

Re: svn commit: r277419 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-08-14 Thread Matthew Ahrens
On Fri, Aug 14, 2015 at 7:23 AM, Andriy Gapon wrote: > On 20/01/2015 15:09, Alexander Motin wrote: > > Author: mav > > Date: Tue Jan 20 13:09:12 2015 > > New Revision: 277419 > > URL: https://svnweb.freebsd.org/changeset/base/277419 > > > > Log: > > Allow skipping dmu_buf_will_dirty() call in d

svn commit: r286784 - head/share/man/man9

2015-08-14 Thread Alan Cox
Author: alc Date: Fri Aug 14 17:49:03 2015 New Revision: 286784 URL: https://svnweb.freebsd.org/changeset/base/286784 Log: Stop describing an acquire operation as a read barrier and a release operation as a write barrier. That description has never been correct, and it has caused confusion.

svn commit: r286785 - head/sys/x86/x86

2015-08-14 Thread Jason A. Harmening
Author: jah Date: Fri Aug 14 18:01:40 2015 New Revision: 286785 URL: https://svnweb.freebsd.org/changeset/base/286785 Log: Reformat x86 bounce buffer synchronization code to reduce indentation. No functional change. Approved by: kib (mentor) Modified: head/sys/x86/x86/busdma_bounce.c

svn commit: r286786 - in head/sys: dev/xen/netfront xen

2015-08-14 Thread John Baldwin
Author: jhb Date: Fri Aug 14 18:38:39 2015 New Revision: 286786 URL: https://svnweb.freebsd.org/changeset/base/286786 Log: Remove another remnant of PV domU support and assume that we always run with an automatically translated physmap under XEN. Reviewed by: royger (earlier version) D

svn commit: r286787 - head/sys/x86/x86

2015-08-14 Thread Jason A. Harmening
Author: jah Date: Fri Aug 14 20:08:16 2015 New Revision: 286787 URL: https://svnweb.freebsd.org/changeset/base/286787 Log: Use pmap_quick_enter_page() to handle bouncing of unmapped buffers in the x86 busdma_bounce implementation. Also treat user buffers as unmapped. This allows two things:

svn commit: r286788 - head/bin/sh

2015-08-14 Thread Jilles Tjoelker
Author: jilles Date: Fri Aug 14 21:44:15 2015 New Revision: 286788 URL: https://svnweb.freebsd.org/changeset/base/286788 Log: sh: When setting option via long name, don't go via letter. Looking up the letter makes no sense and prevents adding options that only have a long name, no letter.

svn commit: r286790 - head/sys/fs/nfsserver

2015-08-14 Thread Rick Macklem
Author: rmacklem Date: Fri Aug 14 22:02:14 2015 New Revision: 286790 URL: https://svnweb.freebsd.org/changeset/base/286790 Log: For the case where an NFSv4.1 ExchangeID operation has the client identifier that already has a confirmed ClientID, the nfsrv_setclient() function would not fill in

svn commit: r286791 - in head: share/mk usr.bin/lorder

2015-08-14 Thread Rui Paulo
Author: rpaulo Date: Fri Aug 14 22:54:52 2015 New Revision: 286791 URL: https://svnweb.freebsd.org/changeset/base/286791 Log: Introduce a new make variable: NMFLAGS. As the name indicates, these are flags to pass to nm(1). The newer binutils have a plugin mechanism so, to build something

svn commit: r286792 - head/share/mk

2015-08-14 Thread Rui Paulo
Author: rpaulo Date: Fri Aug 14 22:55:23 2015 New Revision: 286792 URL: https://svnweb.freebsd.org/changeset/base/286792 Log: bsd.lib.mk: pass NMFLAGS to the lorder script. Modified: head/share/mk/bsd.lib.mk Modified: head/share/mk/bsd.lib.mk =

svn commit: r286793 - head/sys/kern

2015-08-14 Thread Rui Paulo
Author: rpaulo Date: Fri Aug 14 22:57:13 2015 New Revision: 286793 URL: https://svnweb.freebsd.org/changeset/base/286793 Log: genassym.sh: call nm(1) with NMFLAGS. Modified: head/sys/kern/genassym.sh Modified: head/sys/kern/genassym.sh

svn commit: r286794 - head/sys/conf

2015-08-14 Thread Rui Paulo
Author: rpaulo Date: Fri Aug 14 22:58:32 2015 New Revision: 286794 URL: https://svnweb.freebsd.org/changeset/base/286794 Log: sys/conf: pass NMFLAGS to nm(1) via genassym.sh. Modified: head/sys/conf/files.amd64 head/sys/conf/kern.post.mk Modified: head/sys/conf/files.amd64

svn commit: r286795 - head/usr.bin/patch

2015-08-14 Thread Xin LI
Author: delphij Date: Sat Aug 15 00:42:33 2015 New Revision: 286795 URL: https://svnweb.freebsd.org/changeset/base/286795 Log: Remove automatic checkout feature. Obtained from:DragonFly via OpenBSD Relnotes: yes MFC: never Modified: head/usr.bin/patch/common.h

svn commit: r286796 - in head: lib/libnv/tests share/man/man9 sys/cddl/compat/opensolaris/sys sys/contrib/libnv sys/sys

2015-08-14 Thread Mariusz Zaborski
Author: oshogbo Date: Sat Aug 15 06:34:49 2015 New Revision: 286796 URL: https://svnweb.freebsd.org/changeset/base/286796 Log: Add support for the arrays in nvlist library. - Add nvlist_{add,get,take,move,exists,free}_{number,bool,string,nvlist, descriptor} functions. - Add suppor