svn commit: r274646 - stable/10/sys/sys

2014-11-17 Thread Josh Paetzel
Author: jpaetzel Date: Tue Nov 18 07:16:03 2014 New Revision: 274646 URL: https://svnweb.freebsd.org/changeset/base/274646 Log: MFC 273866 Plug memory ordering holes in buf_ring_enqueue. For at least some users this patch eliminates the races previously discussed on the mailing list.

svn commit: r274645 - svnadmin/conf

2014-11-17 Thread Glen Barber
Author: gjb Date: Tue Nov 18 07:03:10 2014 New Revision: 274645 URL: https://svnweb.freebsd.org/changeset/base/274645 Log: Update approvers file to share custody of releng/10.1 between so@ and re@ until re@ is comfortable releasing releng/10.1 entirely post release. Approved by: re (im

Re: svn commit: r274635 - head/sys/dev/pci

2014-11-17 Thread Chagin Dmitry
On Mon, Nov 17, 2014 at 05:45:23PM -0500, John Baldwin wrote: > On Monday, November 17, 2014 08:25:21 PM Dmitry Chagin wrote: > > Author: dchagin > > Date: Mon Nov 17 20:25:21 2014 > > New Revision: 274635 > > URL: https://svnweb.freebsd.org/changeset/base/274635 > > > > Log: > > Use the correct

svn commit: r274644 - head/sys/arm/ti

2014-11-17 Thread Ian Lepore
Author: ian Date: Tue Nov 18 03:26:52 2014 New Revision: 274644 URL: https://svnweb.freebsd.org/changeset/base/274644 Log: Fix the i2c bus speed divisors for TI OMAP4 and AM335x. For OMAP4, the old values for 1MHz gave a bus frequency of about 890KHz. The new numbers hit 1MHz exactly.

svn commit: r274643 - head/sys/dev/gpio

2014-11-17 Thread Luiz Otavio O Souza
Author: loos Date: Tue Nov 18 02:41:35 2014 New Revision: 274643 URL: https://svnweb.freebsd.org/changeset/base/274643 Log: Fix gpiobus_child_location_str() to return a real string with the mapped pins. Make gpiobus_print_pins() static again. Modified: head/sys/dev/gpio/gpiobus.c hea

svn commit: r274642 - head/sys/dev/gpio

2014-11-17 Thread Luiz Otavio O Souza
Author: loos Date: Tue Nov 18 02:11:07 2014 New Revision: 274642 URL: https://svnweb.freebsd.org/changeset/base/274642 Log: Remove unnecessary code. After r273566, the gpiobus version of bus_print_child() also works on FDT systems. Modified: head/sys/dev/gpio/ofw_gpiobus.c Modified: h

svn commit: r274641 - in head/sys: arm/freescale/imx arm/ti dev/iicbus dev/ofw

2014-11-17 Thread Ian Lepore
Author: ian Date: Tue Nov 18 01:54:31 2014 New Revision: 274641 URL: https://svnweb.freebsd.org/changeset/base/274641 Log: Allow i2c bus speed to be configured via hints, FDT data, and sysctl. The current support for controlling i2c bus speed is an inconsistant mess. There are 4 symbolic

svn commit: r274640 - head/sys/modules/if_gre

2014-11-17 Thread Warner Losh
Author: imp Date: Tue Nov 18 01:39:23 2014 New Revision: 274640 URL: https://svnweb.freebsd.org/changeset/base/274640 Log: Use automated MK_INET*_SUPPORT code here as well. Modified: head/sys/modules/if_gre/Makefile Modified: head/sys/modules/if_gre/Makefile =

svn commit: r274639 - head/sys/dev/pccbb

2014-11-17 Thread Warner Losh
Author: imp Date: Tue Nov 18 01:39:21 2014 New Revision: 274639 URL: https://svnweb.freebsd.org/changeset/base/274639 Log: Modernize comments about BIOSes being lame since in this detail they aren't lame, the rules changed along the way. Catch up to 1999 or so with the new rules. Modified:

svn commit: r274638 - head/sys/dev/gpio

2014-11-17 Thread Luiz Otavio O Souza
Author: loos Date: Tue Nov 18 01:38:39 2014 New Revision: 274638 URL: https://svnweb.freebsd.org/changeset/base/274638 Log: Add basic interrupt management code to gpiobus and ofw_gpiobus. This is the general support to allow the use of GPIO pins as interrupt sources for direct gpiobus chi

Re: svn commit: r274635 - head/sys/dev/pci

2014-11-17 Thread Adrian Chadd
On 17 November 2014 14:45, John Baldwin wrote: > On Monday, November 17, 2014 08:25:21 PM Dmitry Chagin wrote: >> Author: dchagin >> Date: Mon Nov 17 20:25:21 2014 >> New Revision: 274635 >> URL: https://svnweb.freebsd.org/changeset/base/274635 >> >> Log: >> Use the correct device as the power_f

Re: svn commit: r274635 - head/sys/dev/pci

2014-11-17 Thread John Baldwin
On Monday, November 17, 2014 08:25:21 PM Dmitry Chagin wrote: > Author: dchagin > Date: Mon Nov 17 20:25:21 2014 > New Revision: 274635 > URL: https://svnweb.freebsd.org/changeset/base/274635 > > Log: > Use the correct device as the power_for_sleep() method > always pass request up to parent b

svn commit: r274637 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-11-17 Thread Mark Johnston
Author: markj Date: Mon Nov 17 22:22:16 2014 New Revision: 274637 URL: https://svnweb.freebsd.org/changeset/base/274637 Log: DTrace imposes a 128-byte limit on the length of the function component of a probe name. When dtrace -G builds up a DOF section for the specified provider(s), the prob

svn commit: r274636 - head/sys/libkern

2014-11-17 Thread Xin LI
Author: delphij Date: Mon Nov 17 21:01:35 2014 New Revision: 274636 URL: https://svnweb.freebsd.org/changeset/base/274636 Log: Sync with userland variant. MFC after:2 weeks Modified: head/sys/libkern/strncmp.c Modified: head/sys/libkern/strncmp.c

svn commit: r274635 - head/sys/dev/pci

2014-11-17 Thread Dmitry Chagin
Author: dchagin Date: Mon Nov 17 20:25:21 2014 New Revision: 274635 URL: https://svnweb.freebsd.org/changeset/base/274635 Log: Use the correct device as the power_for_sleep() method always pass request up to parent bridge. Reviewed by: jhb MFC after:1 week xMFC: r274386,r

Re: svn commit: r274583 - head/usr.sbin/watchdogd

2014-11-17 Thread Ian Lepore
On Mon, 2014-11-17 at 13:09 -0500, Benjamin Kaduk wrote: > On Mon, 17 Nov 2014, Xin Li wrote: > > > On 11/16/14 13:46, Benjamin Kaduk wrote: > > > On Sun, Nov 16, 2014 at 4:44 AM, Xin LI > > > wrote: > > > > > > Author: delphij Date: Sun Nov 16 09:44:30 2014 New Revisi

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

2014-11-17 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 11/17/14 03:32, Steven Hartland wrote: > Author: smh Date: Mon Nov 17 11:32:10 2014 New Revision: 274619 > URL: https://svnweb.freebsd.org/changeset/base/274619 > > Log: Disable TRIM on file backed ZFS vdevs and fix TRIM on init > > Modified: >

Re: svn commit: r274583 - head/usr.sbin/watchdogd

2014-11-17 Thread Benjamin Kaduk
On Mon, 17 Nov 2014, Xin Li wrote: > On 11/16/14 13:46, Benjamin Kaduk wrote: > > On Sun, Nov 16, 2014 at 4:44 AM, Xin LI > > wrote: > > > > Author: delphij Date: Sun Nov 16 09:44:30 2014 New Revision: > > 274583 URL: https://svnweb.freebsd.org/changeset/base/274583 >

svn commit: r274634 - stable/10/usr.bin/mkimg

2014-11-17 Thread Marcel Moolenaar
Author: marcel Date: Mon Nov 17 17:17:10 2014 New Revision: 274634 URL: https://svnweb.freebsd.org/changeset/base/274634 Log: MFC r274410: Fix for behaviour of SEEK_DATA on ZFS. Modified: stable/10/usr.bin/mkimg/image.c Directory Properties: stable/10/ (props changed) Modified: stable/10

svn commit: r274633 - head/sys/dev/pccbb

2014-11-17 Thread Warner Losh
Author: imp Date: Mon Nov 17 16:30:51 2014 New Revision: 274633 URL: https://svnweb.freebsd.org/changeset/base/274633 Log: Remove stray empty comment. The code is adequately explained in the block comment above, so there's nothing to add here. Modified: head/sys/dev/pccbb/pccbb.c Modified:

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

2014-11-17 Thread Andriy Gapon
On 17/11/2014 18:14, Steven Hartland wrote: > > On 17/11/2014 15:07, Andriy Gapon wrote: >> On 17/11/2014 17:06, Steven Hartland wrote: >>> Looks like this could have introduced random data corruption, have you seen >>> this >>> in practice? >> Which part exactly? > The part where it zeroed beyon

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

2014-11-17 Thread Steven Hartland
On 17/11/2014 15:07, Andriy Gapon wrote: On 17/11/2014 17:06, Steven Hartland wrote: Looks like this could have introduced random data corruption, have you seen this in practice? Which part exactly? The part where it zeroed beyond the allocated buffer. On 17/11/2014 14:45, Andriy Gapon wrote

Re: svn commit: r274630 - head/usr.sbin/freebsd-update

2014-11-17 Thread Ian Lepore
On Mon, 2014-11-17 at 15:12 +, Mark Felder wrote: > Author: feld (ports committer) > Date: Mon Nov 17 15:12:46 2014 > New Revision: 274630 > URL: https://svnweb.freebsd.org/changeset/base/274630 > > Log: > Add logic for detecting non-persistent filesystems being utilized by > workdir which

svn commit: r274632 - head/usr.sbin/pw/tests

2014-11-17 Thread Brad Davis
Author: brd (doc committer) Date: Mon Nov 17 15:44:00 2014 New Revision: 274632 URL: https://svnweb.freebsd.org/changeset/base/274632 Log: Clean up some language Reviewed by: will Modified: head/usr.sbin/pw/tests/pw_delete.sh head/usr.sbin/pw/tests/pw_etcdir.sh Modified: head/usr.sbi

Re: svn commit: r274618 - in head: etc/mtree lib/msun lib/msun/tests

2014-11-17 Thread Dag-Erling Smørgrav
Garrett Cooper writes: > Sorry. Copy-pasted the wrong commit message. [...] You can do a forced commit: make a trivial modification to every file you want to include in the commit, and then revert it while svn commit is waiting for you to type your commit message. DES -- Dag-Erling Smørgrav - d

Re: svn commit: r274585 - head/sys/net

2014-11-17 Thread Gleb Smirnoff
On Sun, Nov 16, 2014 at 02:56:32PM +, Alexander V. Chernikov wrote: A> Author: melifaro A> Date: Sun Nov 16 14:56:31 2014 A> New Revision: 274585 A> URL: https://svnweb.freebsd.org/changeset/base/274585 A> A> Log: A> Make witness happy: destroy rte lock before free. A> MFC after: 2 weeks A

Re: svn commit: r274629 - head/sys/netinet

2014-11-17 Thread Bjoern A. Zeeb
On 17 Nov 2014, at 14:56 , Julien Charbon wrote: > Author: jch > Date: Mon Nov 17 14:56:02 2014 > New Revision: 274629 > URL: https://svnweb.freebsd.org/changeset/base/274629 > > Log: > Re-introduce padding fields removed with r264321 to keep > struct tcptw ABI unchanged. > > Suggested by:

Re: svn commit: r274585 - head/sys/net

2014-11-17 Thread Gleb Smirnoff
On Mon, Nov 17, 2014 at 06:27:40PM +0300, Gleb Smirnoff wrote: T> On Sun, Nov 16, 2014 at 02:56:32PM +, Alexander V. Chernikov wrote: T> A> Author: melifaro T> A> Date: Sun Nov 16 14:56:31 2014 T> A> New Revision: 274585 T> A> URL: https://svnweb.freebsd.org/changeset/base/274585 T> A> T> A> L

svn commit: r274631 - head/sbin/geom/core

2014-11-17 Thread Mark Felder
Author: feld (ports committer) Date: Mon Nov 17 15:19:57 2014 New Revision: 274631 URL: https://svnweb.freebsd.org/changeset/base/274631 Log: Fix geom's "usage" generation to not fabricate usage/help output for any imaginary class we give it. Differential Revision:https://reviews.

svn commit: r274630 - head/usr.sbin/freebsd-update

2014-11-17 Thread Mark Felder
Author: feld (ports committer) Date: Mon Nov 17 15:12:46 2014 New Revision: 274630 URL: https://svnweb.freebsd.org/changeset/base/274630 Log: Add logic for detecting non-persistent filesystems being utilized by workdir which would break the upgrade process upon reboot. Currently we check

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

2014-11-17 Thread Steven Hartland
Looks like this could have introduced random data corruption, have you seen this in practice? On 17/11/2014 14:45, Andriy Gapon wrote: Author: avg Date: Mon Nov 17 14:45:42 2014 New Revision: 274628 URL: https://svnweb.freebsd.org/changeset/base/274628 Log: l2arc: restore correct rounding u

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

2014-11-17 Thread Andriy Gapon
On 17/11/2014 17:06, Steven Hartland wrote: > Looks like this could have introduced random data corruption, have you seen > this > in practice? Which part exactly? > On 17/11/2014 14:45, Andriy Gapon wrote: >> Author: avg >> Date: Mon Nov 17 14:45:42 2014 >> New Revision: 274628 >> URL: https://

svn commit: r274629 - head/sys/netinet

2014-11-17 Thread Julien Charbon
Author: jch Date: Mon Nov 17 14:56:02 2014 New Revision: 274629 URL: https://svnweb.freebsd.org/changeset/base/274629 Log: Re-introduce padding fields removed with r264321 to keep struct tcptw ABI unchanged. Suggested by: jhb Approved by: jhb (mentor) MFC after:1 day X-MFC-With

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

2014-11-17 Thread Andriy Gapon
Author: avg Date: Mon Nov 17 14:45:42 2014 New Revision: 274628 URL: https://svnweb.freebsd.org/changeset/base/274628 Log: l2arc: restore correct rounding up of asize of compressed data This rounding up was lost in a mismerge of illumos code. See r268075 MFV r267565. After that commit z

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

2014-11-17 Thread Andriy Gapon
Author: avg Date: Mon Nov 17 14:16:02 2014 New Revision: 274627 URL: https://svnweb.freebsd.org/changeset/base/274627 Log: Revert r269093 which introduced physical zio alignment transform Size of physical ZIOs must never be implicitly adjusted, it's a responsibility of a caller to make su

svn commit: r274626 - in head/contrib/netbsd-tests/lib: libc/gen libc/gen/posix_spawn libc/locale libc/net libc/regex libc/stdlib libc/string libc/sys libc/time libc/tls libc/tls/dso libc/tls_dso l...

2014-11-17 Thread Garrett Cooper
Author: ngie Date: Mon Nov 17 13:39:00 2014 New Revision: 274626 URL: https://svnweb.freebsd.org/changeset/base/274626 Log: Mechanically replace #if defined(__FreeBSD__) and #if defined(__NetBSD__) with their #ifdef equivalents for everything changed in contrib/netbsd-tests. There are some i

svn commit: r274625 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-11-17 Thread Andriy Gapon
Author: avg Date: Mon Nov 17 13:30:18 2014 New Revision: 274625 URL: https://svnweb.freebsd.org/changeset/base/274625 Log: MFC r272708: l2arc_write_buffers: reduce headroom value Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Directory Properties: stable/10/ (pro

svn commit: r274624 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-11-17 Thread Andriy Gapon
Author: avg Date: Mon Nov 17 13:29:58 2014 New Revision: 274624 URL: https://svnweb.freebsd.org/changeset/base/274624 Log: MFC r272708: l2arc_write_buffers: reduce headroom value Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Directory Properties: stable/9/sys/ (p

svn commit: r274623 - stable/10/sys/cddl/compat/opensolaris/sys

2014-11-17 Thread Andriy Gapon
Author: avg Date: Mon Nov 17 13:26:50 2014 New Revision: 274623 URL: https://svnweb.freebsd.org/changeset/base/274623 Log: MFC r272701: make userland __assfail from opensolaris compat honor 'aok' variable Modified: stable/10/sys/cddl/compat/opensolaris/sys/assfail.h Directory Properties: s

svn commit: r274622 - stable/9/sys/cddl/compat/opensolaris/sys

2014-11-17 Thread Andriy Gapon
Author: avg Date: Mon Nov 17 13:26:28 2014 New Revision: 274622 URL: https://svnweb.freebsd.org/changeset/base/274622 Log: MFC r272701: make userland __assfail from opensolaris compat honor 'aok' variable Modified: stable/9/sys/cddl/compat/opensolaris/sys/assfail.h Directory Properties: st

svn commit: r274621 - head/usr.sbin/autofs

2014-11-17 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Nov 17 12:36:01 2014 New Revision: 274621 URL: https://svnweb.freebsd.org/changeset/base/274621 Log: The "intr" option is NFS-specific; fix examples in auto_master(5). MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/autofs/auto

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

2014-11-17 Thread Steven Hartland
On 17 November 2014 11:32, Steven Hartland wrote: > Author: smh > Date: Mon Nov 17 11:32:10 2014 > New Revision: 274619 > URL: https://svnweb.freebsd.org/changeset/base/274619 > > Log: > Disable TRIM on file backed ZFS vdevs and fix TRIM on init > > After r265152 TRIM requests are ZIO_TYPE_FR

Re: svn commit: r274620 - head/tools/regression/zfs/zpool/add

2014-11-17 Thread Garrett Cooper
On Nov 17, 2014, at 3:35, Steven Hartland wrote: > Author: smh > Date: Mon Nov 17 11:35:30 2014 > New Revision: 274620 > URL: https://svnweb.freebsd.org/changeset/base/274620 > > Log: > Revert r273630 as the panic was fixed by r274619 > > The panic was caused by TRIM requests run against file

svn commit: r274620 - head/tools/regression/zfs/zpool/add

2014-11-17 Thread Steven Hartland
Author: smh Date: Mon Nov 17 11:35:30 2014 New Revision: 274620 URL: https://svnweb.freebsd.org/changeset/base/274620 Log: Revert r273630 as the panic was fixed by r274619 The panic was caused by TRIM requests run against file based vdevs as write requests. PR: 191573 Spo

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

2014-11-17 Thread Steven Hartland
Author: smh Date: Mon Nov 17 11:32:10 2014 New Revision: 274619 URL: https://svnweb.freebsd.org/changeset/base/274619 Log: Disable TRIM on file backed ZFS vdevs and fix TRIM on init After r265152 TRIM requests are ZIO_TYPE_FREE instead of ZIO_TYPE_IOCTL this meant file backed vdevs to att

Re: svn commit: r274618 - in head: etc/mtree lib/msun lib/msun/tests

2014-11-17 Thread Garrett Cooper
On Nov 17, 2014, at 1:19, Garrett Cooper wrote: > Author: ngie > Date: Mon Nov 17 09:19:09 2014 > New Revision: 274618 > URL: https://svnweb.freebsd.org/changeset/base/274618 > > Log: > Add reachover Makefiles for contrib/netbsd-tests/lib/librt > > A variant of this code has been tested on am

svn commit: r274618 - in head: etc/mtree lib/msun lib/msun/tests

2014-11-17 Thread Garrett Cooper
Author: ngie Date: Mon Nov 17 09:19:09 2014 New Revision: 274618 URL: https://svnweb.freebsd.org/changeset/base/274618 Log: Add reachover Makefiles for contrib/netbsd-tests/lib/librt A variant of this code has been tested on amd64/i386 for some time by EMC/Isilon on 10-STABLE/11-CURRENT.