svn commit: r297005 - head

2016-03-20 Thread Justin Hibbits
Author: jhibbits Date: Fri Mar 18 02:59:10 2016 New Revision: 297005 URL: https://svnweb.freebsd.org/changeset/base/297005 Log: Forgot lib32 libdevinfo.so.5 Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc =

svn commit: r296989 - vendor-sys/illumos/dist/uts/common/dtrace vendor/illumos/dist/cmd/dtrace/test/tst/common/scalars

2016-03-20 Thread Mark Johnston
Author: markj Date: Thu Mar 17 18:49:37 2016 New Revision: 296989 URL: https://svnweb.freebsd.org/changeset/base/296989 Log: 6734 dtrace_canstore_statvar() fails for some valid static variables Reviewed by: Dan McDonald Approved by: Richard Lowe Author: Bryan Cantrill illumos/il

svn commit: r296954 - in releng/10.1: . crypto/openssh sys/amd64/amd64 sys/conf sys/dev/hyperv/utilities

2016-03-20 Thread Gleb Smirnoff
Author: glebius Date: Wed Mar 16 22:30:56 2016 New Revision: 296954 URL: https://svnweb.freebsd.org/changeset/base/296954 Log: o Fix OpenSSH xauth(1) command injection. [SA-16:14] o Fix incorrect argument validation in sysarch(2). [SA-16:15] o Fix Hyper-V KVP (Key-Value Pair) daemon indefini

svn commit: r296983 - head/release/doc/en_US.ISO8859-1/relnotes

2016-03-20 Thread Alexander Motin
Author: mav Date: Thu Mar 17 09:04:07 2016 New Revision: 296983 URL: https://svnweb.freebsd.org/changeset/base/296983 Log: Add paragraph about isp(4) improvements. Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml

svn commit: r296936 - in head/sys: arm/conf arm/nvidia arm/nvidia/tegra124 boot/fdt/dts/arm

2016-03-20 Thread Michal Meloun
Author: mmel Date: Wed Mar 16 13:01:48 2016 New Revision: 296936 URL: https://svnweb.freebsd.org/changeset/base/296936 Log: Import basic support for Nvidia Jetson TK1 board and tegra124 SoC. The following pheripherals are supported: UART, MMC, AHCI, EHCI, PCIe, I2C, PMIC, GPIO, CPU temperatu

Re: svn commit: r296933 - in head: share/man/man9 sys/sys

2016-03-20 Thread Gleb Smirnoff
On Wed, Mar 16, 2016 at 08:37:52AM +, Hans Petter Selasky wrote: H> Modified: head/sys/sys/sysctl.h H> == H> --- head/sys/sys/sysctl.hWed Mar 16 06:42:15 2016(r296932) H> +++ head/sys/sys/sysctl.hWed Ma

Re: svn commit: r296927 - in head: share/man/man9 sys/kern sys/sys

2016-03-20 Thread Conrad Meyer
Fixed in r296973. On Wed, Mar 16, 2016 at 3:02 PM, Bjoern A. Zeeb wrote: > On Wed, 16 Mar 2016, Conrad E. Meyer wrote: > >> Author: cem >> Date: Wed Mar 16 04:22:32 2016 >> New Revision: 296927 >> URL: https://svnweb.freebsd.org/changeset/base/296927 >> >> Log: >> fail(9): Upstreaming some fail

Re: svn commit: r287445 - in head: bin/setfacl lib/libc/posix1e share/man/man9 sys/cddl/compat/opensolaris/kern sys/cddl/contrib/opensolaris/uts/common/sys sys/kern sys/sys tools/regression/acltools

2016-03-20 Thread Alan Somers
On Thu, Sep 3, 2015 at 6:14 PM, Xin LI wrote: > Author: delphij > Date: Fri Sep 4 00:14:20 2015 > New Revision: 287445 > URL: https://svnweb.freebsd.org/changeset/base/287445 > > Log: > Expose an interface to determine if an ACE is inherited. > > Submitted by: sef > Reviewed by: trasz >

Re: svn commit: r296909 - head/sys/ofed/drivers/infiniband/ulp/ipoib

2016-03-20 Thread Adrian Chadd
I've fought this problem in USB drivers. Ideally you'd also have the detach path /also/ take said lock and drain anyone currently doing anything active (tx, rx, ioctls, net80211 methods, etc) to completion before continuing. A lot of drivers don't do this very well, or at all. -adrian _

svn commit: r296975 - in head/sys/dev/cxgbe: . common

2016-03-20 Thread Navdeep Parhar
Author: np Date: Thu Mar 17 01:15:16 2016 New Revision: 296975 URL: https://svnweb.freebsd.org/changeset/base/296975 Log: cxgbe(4): Tidy up PAUSE frame accounting. Figure out if the chip is counting PAUSE frames in the "normal" stats and take them out if it is. This fixes a bug in the tx

svn commit: r297060 - head/sys/compat/linux

2016-03-20 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 20 11:40:52 2016 New Revision: 297060 URL: https://svnweb.freebsd.org/changeset/base/297060 Log: Rework r296543: 1. Limit secs to INT32_MAX / 2 to avoid errors from kern_setitimer(). Assert that kern_setitimer() returns 0. Remove bogus cast of secs.

svn commit: r297061 - in head/sys: amd64/linux32 compat/linux i386/linux

2016-03-20 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 20 13:21:20 2016 New Revision: 297061 URL: https://svnweb.freebsd.org/changeset/base/297061 Log: Implement fstatfs64 system call. PR: 181012 Submitted by: John Wehle MFC after:1 week Modified: head/sys/amd64/linux32/linux32_dummy.c head/s

svn commit: r297062 - in head/sys: amd64/linux32 i386/linux

2016-03-20 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 20 13:23:01 2016 New Revision: 297062 URL: https://svnweb.freebsd.org/changeset/base/297062 Log: Regen for r297061 (fstatfs64 Linux syscall). MFC after:1 week Modified: head/sys/amd64/linux32/linux32_proto.h head/sys/amd64/linux32/linux32_syscall.h h

Re: svn commit: r296543 - head/sys/compat/linux

2016-03-20 Thread Chagin Dmitry
On Wed, Mar 09, 2016 at 07:16:27PM +1100, Bruce Evans wrote: > On Tue, 8 Mar 2016, Dmitry Chagin wrote: > > > Log: > > Put a commit message from r296502 about Linux alarm() system call > > behaviour to the source. > > ... > > Modified: head/sys/compat/linux/linux_misc.c > > =

Re: svn commit: r296881 - in head: contrib/bsnmp/snmp_mibII sys/netinet

2016-03-20 Thread Hans Petter Selasky
On 03/16/16 16:05, Shawn Webb wrote: This breaks the build on amd64: I believe this is fixed by r296935. --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src

svn commit: r297063 - head/sys/compat/linux

2016-03-20 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 20 14:06:27 2016 New Revision: 297063 URL: https://svnweb.freebsd.org/changeset/base/297063 Log: Whitespaces, style(9) fixes. No functional changes. MFC after:1 week Modified: head/sys/compat/linux/linux_stats.c Modified: head/sys/compat/linux/linux_sta

svn commit: r297064 - stable/10/sys/kern

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 14:11:37 2016 New Revision: 297064 URL: https://svnweb.freebsd.org/changeset/base/297064 Log: MFC r256612: MFprojects/camlock r254685: Remove TQ_FLAGS_PENDING flag, softly duplicating queue emptiness status. Modified: stable/10/sys/kern/subr_taskqueue.c Director

svn commit: r297065 - head/sys/dev/ahci

2016-03-20 Thread Justin Hibbits
Author: jhibbits Date: Sun Mar 20 14:21:07 2016 New Revision: 297065 URL: https://svnweb.freebsd.org/changeset/base/297065 Log: Convert a long to rman_res_t, fixing a sign extension bug. ahci.c had one signed long, which was passed into rman, rather than u_long. After the switch of rman_r

svn commit: r297066 - stable/10/sys/kern

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 14:37:37 2016 New Revision: 297066 URL: https://svnweb.freebsd.org/changeset/base/297066 Log: MFC r256613, r256862: MFprojects/camlock r254763: Move tq_enqueue() call out of the queue lock for known handlers (actually I have found no others in the base system).

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 16:00:05 2016 New Revision: 297067 URL: https://svnweb.freebsd.org/changeset/base/297067 Log: MFC r264670: MFV r264667: 4752 fan out read zio taskqs illumos/illumos-gate@1b497ab83e8f1c58bba5da59c649207a442a4720 Modified: stable/10/sys/cddl/contrib/openso

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

2016-03-20 Thread Bjoern A. Zeeb
Author: bz Date: Fri Mar 18 19:36:43 2016 New Revision: 297038 URL: https://svnweb.freebsd.org/changeset/base/297038 Log: Convert the printfs here from %lx to %jx as well after r297000 in order to be able to compile this into arm kernels. Sponsored by: DARPA/AFRL Modified: head/sys/dev

svn commit: r297068 - head/sys/arm/broadcom/bcm2835

2016-03-20 Thread Ian Lepore
Author: ian Date: Sun Mar 20 16:48:29 2016 New Revision: 297068 URL: https://svnweb.freebsd.org/changeset/base/297068 Log: Remove FREEBSD_BOOT_LOADER that already exists in std.armv6 config file. PR: 207728 Submitted by: Jia-Shiun Li Modified: head/sys/arm/broadcom/bcm2835/s

Re: svn commit: r297058 - in head/sys: dev/urtwn dev/usb/wlan modules modules/urtwn modules/urtwnfw modules/usb modules/usb/urtwn modules/usb/urtwnfw

2016-03-20 Thread Chagin Dmitry
On Sun, Mar 20, 2016 at 03:54:58AM +, Adrian Chadd wrote: > Author: adrian > Date: Sun Mar 20 03:54:57 2016 > New Revision: 297058 > URL: https://svnweb.freebsd.org/changeset/base/297058 > > Log: > [urtwn] migrate urtwn out into sys/dev/urtwn/ . > > There's some upcoming work to add new

Re: svn commit: r296543 - head/sys/compat/linux

2016-03-20 Thread Bruce Evans
On Sun, 20 Mar 2016, Chagin Dmitry wrote: On Wed, Mar 09, 2016 at 07:16:27PM +1100, Bruce Evans wrote: On Tue, 8 Mar 2016, Dmitry Chagin wrote: Log: Put a commit message from r296502 about Linux alarm() system call behaviour to the source. ... Modified: head/sys/compat/linux/linux_misc.c ==

svn commit: r297069 - head/sys/conf

2016-03-20 Thread Adrian Chadd
Author: adrian Date: Sun Mar 20 17:53:30 2016 New Revision: 297069 URL: https://svnweb.freebsd.org/changeset/base/297069 Log: Now that urtwn is its own device, and it'll get hotplug loaded by devd/ifconfig/etc, don't build it in the kernel. This should fix the build as well! Notice b

svn commit: r297070 - head/sys/compat/linux

2016-03-20 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 20 18:31:30 2016 New Revision: 297070 URL: https://svnweb.freebsd.org/changeset/base/297070 Log: Return EOVERFLOW in case when actual statfs values are large enough and not fit into 32 bit fileds of a Linux struct statfs. PR: 181012 MFC after:

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 18:56:03 2016 New Revision: 297071 URL: https://svnweb.freebsd.org/changeset/base/297071 Log: MFC r271781i (by will): bpobj_iterate_impl(): Close a refcount leak iterating on a sublist. If bpobj_space() returned non-zero here, the sublist would have been lef

svn commit: r297072 - head/sys/compat/linux

2016-03-20 Thread Dmitry Chagin
Author: dchagin Date: Sun Mar 20 19:06:21 2016 New Revision: 297072 URL: https://svnweb.freebsd.org/changeset/base/297072 Log: Check bsd_to_linux_statfs() return value. Forgotten in r297070. MFC after:1 week Modified: head/sys/compat/linux/linux_stats.c Modified: head/sys/compat/lin

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 19:07:12 2016 New Revision: 297073 URL: https://svnweb.freebsd.org/changeset/base/297073 Log: MFC r277492 (by will): Add vfs.zfs.reference_tracking_enable sysctl/tunable. This is primarily for developer/debugging use; it enables built-in tagged tracking of ref

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 19:11:17 2016 New Revision: 297074 URL: https://svnweb.freebsd.org/changeset/base/297074 Log: MFC r271788 (by will): Enable ZFS debug flags to be modified via vfs.zfs.debug_flags. This is primarily only of interest to ZFS developers, but it makes it easier t

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 19:14:51 2016 New Revision: 297075 URL: https://svnweb.freebsd.org/changeset/base/297075 Log: MFC r269222: Reschedule the 'deadman' callout after handling, this makes our code behave more like it is on Solaris. Differential Revision: https://phabric.freebsd.or

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 19:21:20 2016 New Revision: 297076 URL: https://svnweb.freebsd.org/changeset/base/297076 Log: MFC r271785: Reorder sysctls for spa.c global tunables; add sysctl for ccw_retry_interval. Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c Dire

svn commit: r297077 - in stable/10: cddl/contrib/opensolaris/cmd/dtrace cddl/contrib/opensolaris/cmd/lockstat cddl/contrib/opensolaris/cmd/mdb/tools/common cddl/contrib/opensolaris/cmd/plockstat cd...

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 20:00:25 2016 New Revision: 297077 URL: https://svnweb.freebsd.org/changeset/base/297077 Log: MFC r277300 (by smh): Mechanically convert cddl sun #ifdef's to illumos Since the upstream for cddl code is now illumos not sun, mechanically convert all sun #ifdef's

svn commit: r297078 - in stable/10: cddl/contrib/opensolaris/lib/libzpool/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 20:12:14 2016 New Revision: 297078 URL: https://svnweb.freebsd.org/changeset/base/297078 Log: MFC r274304 (by delphij): MFV r274272 and diff reduction with upstream. Illumos issue: 5244 zio pipeline callers should explicitly invoke next stage Modified:

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 20:20:37 2016 New Revision: 297079 URL: https://svnweb.freebsd.org/changeset/base/297079 Log: MFC r286223 (by smh): Fix KSTACK_PAGES check in ZFS module The check introduced by r285946 failed to add the dependency on opt_kstack_pages.h which meant the default

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 20:23:20 2016 New Revision: 297080 URL: https://svnweb.freebsd.org/changeset/base/297080 Log: MFC r277501 (by will): Eliminate an #ifdef illumos for zfs_ioc_rename(). Since allow_mounted is a FreeBSD-specific change, default to B_TRUE, then locally check for t

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 20:25:36 2016 New Revision: 297081 URL: https://svnweb.freebsd.org/changeset/base/297081 Log: MFC r277503 (by will): Ignore sync requests from the system syncher, i.e. VFS_SYNC(waitfor=MNT_LAZY). ZFS already commits outstanding data every zfs_txg_timeout secon

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 20:27:52 2016 New Revision: 297082 URL: https://svnweb.freebsd.org/changeset/base/297082 Log: MFC r272359 (by will): zfsvfs_create(): Refuse to mount datasets whose names are too long. This is checked for in the zfs_snapshot_004_neg STF/ATF test (currently s

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 20:31:30 2016 New Revision: 297083 URL: https://svnweb.freebsd.org/changeset/base/297083 Log: MFC r262990: MFV r262983: 4638 Panic in ZFS via rfs3_setattr()/rfs3_write(): dirtying snapshot! illumos/illumos-gate@2144b121c08e0eb676cc6ca4662ebbc9f9c22fe3 Modi

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 20:33:03 2016 New Revision: 297084 URL: https://svnweb.freebsd.org/changeset/base/297084 Log: MFV r258597 (by pjd): When append-only, immutable or read-only flag is set don't allow for hard links creation. This matches UFS behaviour. Reported by:Oleg Gin

Re: svn commit: r297077 - in stable/10: cddl/contrib/opensolaris/cmd/dtrace cddl/contrib/opensolaris/cmd/lockstat cddl/contrib/opensolaris/cmd/mdb/tools/common cddl/contrib/opensolaris/cmd/plockstat c

2016-03-20 Thread Pedro Giffuni
On 20/03/2016 15:00, Alexander Motin wrote: Author: mav Date: Sun Mar 20 20:00:25 2016 New Revision: 297077 URL: https://svnweb.freebsd.org/changeset/base/297077 Log: MFC r277300 (by smh): Mechanically convert cddl sun #ifdef's to illumos Since the upstream for cddl code is now illum

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 20:37:26 2016 New Revision: 297085 URL: https://svnweb.freebsd.org/changeset/base/297085 Log: MFC r274627 (by avg): Revert r269093 which introduced physical zio alignment transform Size of physical ZIOs must never be implicitly adjusted, it's a responsibilit

svn commit: r297086 - head/sys/nfs

2016-03-20 Thread Ian Lepore
Author: ian Date: Sun Mar 20 21:48:26 2016 New Revision: 297086 URL: https://svnweb.freebsd.org/changeset/base/297086 Log: It appears nfs_mountroot() will use the env var "boot.netif.mtu" if it exists, so mention that along with all the other boot.netif vars. Modified: head/sys/nfs/nfs_disk

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:20:16 2016 New Revision: 297087 URL: https://svnweb.freebsd.org/changeset/base/297087 Log: MFC r290266 (by avg): zfs: allow the lookup of extended attributes of an unlinked file That's required for extattr_get_fd(2) and the like to work properly. PR:

svn commit: r297088 - stable/10/cddl/contrib/opensolaris/cmd/plockstat

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:26:52 2016 New Revision: 297088 URL: https://svnweb.freebsd.org/changeset/base/297088 Log: MFC r291637 (by bdrewery): Fix the build for non-amd64. Modified: stable/10/cddl/contrib/opensolaris/cmd/plockstat/plockstat.c Directory Properties: stable/10/ (props

svn commit: r297089 - stable/10/cddl/contrib/opensolaris/cmd/zdb

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:29:58 2016 New Revision: 297089 URL: https://svnweb.freebsd.org/changeset/base/297089 Log: MFC r292653 (by bapt): Report an error if zdb cannot initialize zfs If the zfs module is not present and not loadable, report an error to the user instead of crashing

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:43:26 2016 New Revision: 297090 URL: https://svnweb.freebsd.org/changeset/base/297090 Log: MFC r293677 (by asomers): Record physical path information in ZFS Vdevs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c: If available, record the p

Re: svn commit: r297089 - stable/10/cddl/contrib/opensolaris/cmd/zdb

2016-03-20 Thread Dimitry Andric
On 21 Mar 2016, at 00:29, Alexander Motin wrote: > Author: mav > Date: Sun Mar 20 23:29:58 2016 > New Revision: 297089 > URL: https://svnweb.freebsd.org/changeset/base/297089 > > Log: > MFC r292653 (by bapt): Report an error if zdb cannot initialize zfs > > If the zfs module is not present and

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:48:26 2016 New Revision: 297091 URL: https://svnweb.freebsd.org/changeset/base/297091 Log: MFC r294625 (by trasz): Fix ru_oublocks accounting for ZFS. There are two code paths that can be called from zfs_write() - one of them, through dmu_write(), was handled

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:49:58 2016 New Revision: 297092 URL: https://svnweb.freebsd.org/changeset/base/297092 Log: MFC r294794: MFV r294793: 6367 spa_config_tryenter incorrectly handles the multiple-lock case Reviewed by: Alek Pinchuk Reviewed by: Josef 'Jeff' Sipek Reviewed

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:51:11 2016 New Revision: 297093 URL: https://svnweb.freebsd.org/changeset/base/297093 Log: MFC r294797: MFV r294796: 6319 assertion failed in zio_ddt_write: bp->blk_birth == txg Reviewed by: George Wilson Approved by: Dan McDonald illumos/illumos-g

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:52:45 2016 New Revision: 297095 URL: https://svnweb.freebsd.org/changeset/base/297095 Log: MFC r294801: MFV r294800: 6385 Fix unlocking order in zfs_zget Reviewed by: Brian Behlendorf Reviewed by: Matthew Ahrens Reviewed by: Dan Kimmel Reviewed by: A

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:51:56 2016 New Revision: 297094 URL: https://svnweb.freebsd.org/changeset/base/297094 Log: MFC r294799: MFV r294798: 6292 exporting a pool while an async destroy is running can leave entries in the deferred tree Reviewed by: Paul Dagnelie Reviewed by:

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:54:05 2016 New Revision: 297096 URL: https://svnweb.freebsd.org/changeset/base/297096 Log: MFC r294803: MFV r294802: 6334 Cannot unlink files when over quota Reviewed by: Matthew Ahrens Reviewed by: Toomas Soome Approved by: Dan McDonald Author: Simo

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:54:59 2016 New Revision: 297097 URL: https://svnweb.freebsd.org/changeset/base/297097 Log: MFC r294805: MFV r294804: 6386 Fix function call with uninitialized value in vdev_inuse Reviewed by: Brian Behlendorf Reviewed by: Matthew Ahrens Reviewed by: D

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:56:02 2016 New Revision: 297098 URL: https://svnweb.freebsd.org/changeset/base/297098 Log: MFC r294807: MFV r294806: 6388 Failure of userland copy should return EFAULT Reviewed by: Brian Behlendorf Reviewed by: Matthew Ahrens Reviewed by: Dan Kimmel

svn commit: r297100 - in stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:57:46 2016 New Revision: 297100 URL: https://svnweb.freebsd.org/changeset/base/297100 Log: MFC r294811: MFV r294810: 6414 vdev_config_sync could be simpler Reviewed by: George Wilson Reviewed by: Matthew Ahrens Approved by: Robert Mustacchi Author: W

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:56:59 2016 New Revision: 297099 URL: https://svnweb.freebsd.org/changeset/base/297099 Log: MFC r294809: MFV r294808: 6421 Add missing multilist_destroy calls to arc_fini Reviewed by: Dan Kimmel Reviewed by: Matthew Ahrens Reviewed by: Jorgen Lundman

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Sun Mar 20 23:58:44 2016 New Revision: 297101 URL: https://svnweb.freebsd.org/changeset/base/297101 Log: MFC r294813: MFV r294812: 6434 sa_find_sizes() may compute wrong SA header size Reviewed-by: Ned Bass Reviewed-by: Brian Behlendorf Reviewed by: Andriy Gapon

svn commit: r297102 - in stable/10: cddl/contrib/opensolaris/cmd/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:01:59 2016 New Revision: 297102 URL: https://svnweb.freebsd.org/changeset/base/297102 Log: MFC r294815: MFV r294814: 6393 zfs receive a full send as a clone Reviewed by: Matthew Ahrens Reviewed by: Prakash Surya Reviewed by: Richard Elling Approved b

svn commit: r297103 - in stable/10: cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:03:55 2016 New Revision: 297103 URL: https://svnweb.freebsd.org/changeset/base/297103 Log: MFC r294817: MFV r294816: 4986 receiving replication stream fails if any snapshot exceeds refquota Reviewed by: John Kennedy Reviewed by: Matthew Ahrens Approve

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:04:53 2016 New Revision: 297104 URL: https://svnweb.freebsd.org/changeset/base/297104 Log: MFC r294820: MFV r294819: 6495 Fix mutex leak in dmu_objset_find_dp Reviewed by: George Wilson Reviewed by: Matthew Ahrens Approved by: Albert Lee Author: Stev

svn commit: r297105 - stable/10/cddl/contrib/opensolaris/lib/libzfs/common

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:06:42 2016 New Revision: 297105 URL: https://svnweb.freebsd.org/changeset/base/297105 Log: MFC r295047: MFV 295046: 6358 A faulted pool with only unavailable vdevs triggers assertion failure in libzfs Reviewed by: Matthew Ahrens Reviewed by: Andrew Sto

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:07:56 2016 New Revision: 297106 URL: https://svnweb.freebsd.org/changeset/base/297106 Log: MFC r295125: MFV r294821: 6529 Properly handle updates of variably-sized SA entries. Reviewed by: Brian Behlendorf Reviewed by: Matthew Ahrens Reviewed by: Ned

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:09:56 2016 New Revision: 297107 URL: https://svnweb.freebsd.org/changeset/base/297107 Log: MFC r296021 (by smh): Removed unused label and fix mutex_exit order Remove unused done label from zfs_setacl fixing PVS-Studio V729. Fix mutex_exit order to mirror

svn commit: r297108 - in stable/10: cddl/contrib/opensolaris/cmd/zinject cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/compat/opensolaris/sys sys/cddl/contrib/opensolaris/common/zfs sys/cddl/...

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:13:39 2016 New Revision: 297108 URL: https://svnweb.freebsd.org/changeset/base/297108 Log: MFC r296510, r296563, r296567: MFV r296505: 6531 Provide mechanism to artificially limit disk performance Reviewed by: Paul Dagnelie Reviewed by: Matthew Ahrens

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:14:30 2016 New Revision: 297109 URL: https://svnweb.freebsd.org/changeset/base/297109 Log: MFC r296512: MFV r296511: 6537 Panic on zpool scrub with DEBUG kernel Reviewed by: Steve Gonczi Reviewed by: Dan McDonald Reviewed by: Igor Kozhukhov Reviewed

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:15:41 2016 New Revision: 297110 URL: https://svnweb.freebsd.org/changeset/base/297110 Log: MFC r296514: MFV r296513: 6450 scrub/resilver unnecessarily traverses snapshots created after the scrub started Reviewed by: George Wilson Reviewed by: Prakash S

svn commit: r297111 - in stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:16:42 2016 New Revision: 297111 URL: https://svnweb.freebsd.org/changeset/base/297111 Log: MFC r296516: MFV r296515: 6536 zfs send: want a way to disable setting of DRR_FLAG_FREERECORDS Reviewed by: Anil Vijarnia Reviewed by: Kim Shrier Reviewed by: M

svn commit: r297112 - in stable/10: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zstreamdump cddl/contrib/opensolaris/cmd/ztest cddl/contrib/openso...

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:18:38 2016 New Revision: 297112 URL: https://svnweb.freebsd.org/changeset/base/297112 Log: MFC r296519: MFV r296518: 5027 zfs large block support (add copyright) Author: Matthew Ahrens illumos/illumos-gate@c3d26abc9ee97b4f60233556aadeb57e0bd30bb9 Modi

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:19:42 2016 New Revision: 297113 URL: https://svnweb.freebsd.org/changeset/base/297113 Log: MFC r296521: MFV r296520: 6562 Refquota on receive doesn't account for overage Reviewed by: Matthew Ahrens Reviewed by: Yuri Pankov Reviewed by: Toomas Soome

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:20:49 2016 New Revision: 297114 URL: https://svnweb.freebsd.org/changeset/base/297114 Log: MFC r296523: MFV r296522: 6541 Pool feature-flag check defeated if "verify" is included in the dedup property value Reviewed by: Matthew Ahrens Reviewed by: Rich

svn commit: r297115 - in stable/10: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/nvpair sys/cdd...

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:22:09 2016 New Revision: 297115 URL: https://svnweb.freebsd.org/changeset/base/297115 Log: MFC r296528: MFV r296527: 6659 nvlist_free(NULL) is a no-op Reviewed by: Toomas Soome Reviewed by: Marcel Telka Approved by: Robert Mustacchi Author: Josef 'J

svn commit: r297116 - in stable/10/sys/cddl: compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:22:55 2016 New Revision: 297116 URL: https://svnweb.freebsd.org/changeset/base/297116 Log: MFC r296530: MFV r296529: 6672 arc_reclaim_thread() should use gethrtime() instead of ddi_get_lbolt() 6673 want a macro to convert seconds to nanoseconds and vice-versa

svn commit: r297117 - stable/10/cddl/contrib/opensolaris/cmd/zfs

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:23:51 2016 New Revision: 297117 URL: https://svnweb.freebsd.org/changeset/base/297117 Log: MFC r296533: MFV r296532: 6637 replacing "dontclose" with "should_close" Reviewed by: Matthew Ahrens Reviewed by: Prakash Surya Approved by: Robert Mustacchi A

svn commit: r297118 - stable/10/cddl/contrib/opensolaris/cmd/zfs

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:24:37 2016 New Revision: 297118 URL: https://svnweb.freebsd.org/changeset/base/297118 Log: MFC r296535: MFV r296534: 6550 cmd/zfs: cleanup gcc warnings Reviewed by: Matthew Ahrens Reviewed by: Andy Stormont Approved by: Dan McDonald Author: Igor Kozh

svn commit: r297119 - stable/10/cddl/contrib/opensolaris/cmd/zpool

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:25:26 2016 New Revision: 297119 URL: https://svnweb.freebsd.org/changeset/base/297119 Log: MFC r296537: MFV r296536: 6551 cmd/zpool: cleanup gcc warnings Reviewed by: Matthew Ahrens Reviewed by: Andy Stormont Approved by: Robert Mustacchi illumos/

svn commit: r297120 - stable/10/cddl/contrib/opensolaris/lib/libzfs/common

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:26:14 2016 New Revision: 297120 URL: https://svnweb.freebsd.org/changeset/base/297120 Log: MFC r296539: MFV r296538: 6544 incorrect comment in libzfs.h about offline status Reviewed by: Matthew Ahrens Approved by: Dan McDonald Author: Gerhard Roethlin

svn commit: r297121 - stable/10/cddl/contrib/opensolaris/lib/libzfs/common

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:27:00 2016 New Revision: 297121 URL: https://svnweb.freebsd.org/changeset/base/297121 Log: MFC r296541: MFV r296540: 4448 zfs diff misprints unicode characters Reviewed by: Igor Kozhukhov Reviewed by: Toomas Soome Approved by: Matthew Ahrens Author:

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:28:13 2016 New Revision: 297122 URL: https://svnweb.freebsd.org/changeset/base/297122 Log: MFC r296613: Make ZFS more picky to GEOM stripe sizes and offsets. Use of misaligned or non-power-of-2 stripes is not really useful for ZFS, since increased ashift wo

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

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:29:00 2016 New Revision: 297123 URL: https://svnweb.freebsd.org/changeset/base/297123 Log: MFC r296615: Make ZFS ignore stripe sizes above SPA_MAXASHIFT (8KB). If device has stripe size bigger then maximal sector size supported by ZFS, there is nothing can

svn commit: r297124 - in head: contrib/ofed/libcxgb4/src sys/dev/cxgbe/iw_cxgbe

2016-03-20 Thread Navdeep Parhar
Author: np Date: Mon Mar 21 00:29:45 2016 New Revision: 297124 URL: https://svnweb.freebsd.org/changeset/base/297124 Log: iw_cxgbe/libcxgb4: Pull in many applicable fixes from the upstream Linux iWARP driver and userspace library to the FreeBSD iw_cxgbe and libcxgb4. This commit includes

svn commit: r297125 - stable/10/sys/dev/mrsas

2016-03-20 Thread Steven Hartland
Author: smh Date: Mon Mar 21 00:31:06 2016 New Revision: 297125 URL: https://svnweb.freebsd.org/changeset/base/297125 Log: MFC r296020: Fix NULL pointer dereferences Sponsored by: Multiplay Modified: stable/10/sys/dev/mrsas/mrsas.c Directory Properties: stable/10/ (props changed

svn commit: r297126 - in stable/10/sys/dev: nvd nvme

2016-03-20 Thread Alexander Motin
Author: mav Date: Mon Mar 21 00:34:22 2016 New Revision: 297126 URL: https://svnweb.freebsd.org/changeset/base/297126 Log: MFC r296617: Revert r292074 (by smh): Limit stripesize reported from nvd(4) to 4K I believe that this patch handled the problem from the wrong side. Instead of maki

svn commit: r297127 - in head/sys: arm/allwinner arm/amlogic/aml8726 arm/at91 arm/broadcom/bcm2835 arm/freescale/imx arm/lpc arm/ti dev/mmc dev/mmc/host dev/sdhci powerpc/mpc85xx

2016-03-20 Thread Ian Lepore
Author: ian Date: Mon Mar 21 00:52:24 2016 New Revision: 297127 URL: https://svnweb.freebsd.org/changeset/base/297127 Log: Fix fallout from r292180 (Dec 2015)... ensure that every driver which has a DRIVER_MODULE() referencing mmc_driver has a MODULE_DEPEND() on mmc. This is because the ker

svn commit: r297128 - head/sys/dev/drm2/i915

2016-03-20 Thread Ed Maste
Author: emaste Date: Mon Mar 21 00:59:30 2016 New Revision: 297128 URL: https://svnweb.freebsd.org/changeset/base/297128 Log: i915: disable GEN6_MBCTL write in gen6_init_clock_gating This write came from Linux commit b4ae3f22d238 which has been implicated in Sandy Bridge power consumption

svn commit: r297129 - stable/10/cddl/contrib/opensolaris/lib/libdtrace/common

2016-03-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Mar 21 01:14:32 2016 New Revision: 297129 URL: https://svnweb.freebsd.org/changeset/base/297129 Log: MFC r296816: libdtrace: use calloc(3) instead of malloc(3) when it makes sense. calloc(3) is faster and occasionally safer than malloc(3) + bzero(3). In one c

svn commit: r297130 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

2016-03-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Mar 21 01:17:48 2016 New Revision: 297130 URL: https://svnweb.freebsd.org/changeset/base/297130 Log: MFC r296816: libdtrace: use calloc(3) instead of malloc(3) when it makes sense. calloc(3) is faster and occasionally safer than malloc(3) + bzero(3). In one c

svn commit: r297131 - head/sys/arm/conf

2016-03-20 Thread Adrian Chadd
Author: adrian Date: Mon Mar 21 02:38:21 2016 New Revision: 297131 URL: https://svnweb.freebsd.org/changeset/base/297131 Log: Remove urtwn/urtwnfw; it's built as a module now. Modified: head/sys/arm/conf/RK3188 Modified: head/sys/arm/conf/RK3188 ==

svn commit: r297133 - stable/10/sys/kern

2016-03-20 Thread Konstantin Belousov
Author: kib Date: Mon Mar 21 03:29:45 2016 New Revision: 297133 URL: https://svnweb.freebsd.org/changeset/base/297133 Log: MFC r296467: Convert all panics from the link_elf_obj kernel linker for object files format into printfs and errors to caller. Modified: stable/10/sys/kern/link_elf_o

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

2016-03-20 Thread Luiz Otavio O Souza
Author: loos Date: Mon Mar 21 03:39:38 2016 New Revision: 297134 URL: https://svnweb.freebsd.org/changeset/base/297134 Log: Use the internal references for ADC, this fixes the ADC readings on uBMC. Tested on BBB and uBMC. Sponsored by: Rubicon Communications (Netgate) Modified: head

svn commit: r297135 - stable/9/cddl/contrib/opensolaris/lib/libdtrace/common

2016-03-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Mar 21 05:47:59 2016 New Revision: 297135 URL: https://svnweb.freebsd.org/changeset/base/297135 Log: Revert r297130: Revert to unbreak the build. No idea how this broke the build in libstand but it was the only change so revert to appease jenkins. Modified: stable

svn commit: r297136 - head/sys/conf

2016-03-20 Thread Adrian Chadd
Author: adrian Date: Mon Mar 21 05:51:21 2016 New Revision: 297136 URL: https://svnweb.freebsd.org/changeset/base/297136 Log: Remove from NOTES - it's built as a module now. Noticed by: sephe Modified: head/sys/conf/NOTES Modified: head/sys/conf/NOTES ===

svn commit: r297137 - head/lib/libthr

2016-03-20 Thread Konstantin Belousov
Author: kib Date: Mon Mar 21 05:59:05 2016 New Revision: 297137 URL: https://svnweb.freebsd.org/changeset/base/297137 Log: Fix typo. MFC after:3 days Modified: head/lib/libthr/Makefile Modified: head/lib/libthr/Makefile ===

svn commit: r297138 - head/lib/libthr/thread

2016-03-20 Thread Konstantin Belousov
Author: kib Date: Mon Mar 21 06:40:54 2016 New Revision: 297138 URL: https://svnweb.freebsd.org/changeset/base/297138 Log: Implement process-shared spinlocks. Sponsored by: The FreeBSD Foundation Modified: head/lib/libthr/thread/thr_pspinlock.c Modified: head/lib/libthr/thread/thr_pspin

svn commit: r297139 - head/lib/libthr/thread

2016-03-20 Thread Konstantin Belousov
Author: kib Date: Mon Mar 21 06:46:16 2016 New Revision: 297139 URL: https://svnweb.freebsd.org/changeset/base/297139 Log: From libthr, remove special and strange code to set up session and control terminal, activated when running with pid 1. It is application duty to handle this, and unsus

svn commit: r297140 - head/lib/libthr/thread

2016-03-20 Thread Konstantin Belousov
Author: kib Date: Mon Mar 21 06:48:11 2016 New Revision: 297140 URL: https://svnweb.freebsd.org/changeset/base/297140 Log: Provide more information on failing checks in mutex_assert_is_owned() and mutex_assert_not_owned(). snprintf() use in this context should be safe. Sponsored by: Th

svn commit: r297141 - head/lib/libthr/thread

2016-03-20 Thread Konstantin Belousov
Author: kib Date: Mon Mar 21 06:52:35 2016 New Revision: 297141 URL: https://svnweb.freebsd.org/changeset/base/297141 Log: Lock pshared_lock shared around fork, to ensure that the COW snapshot of the pshared hash in child is consistent and can be safely used. Reported and tested by:

svn commit: r297142 - in head/sys/dev/hyperv: include utilities vmbus

2016-03-20 Thread Sepherosa Ziehau
Author: sephe Date: Mon Mar 21 06:54:21 2016 New Revision: 297142 URL: https://svnweb.freebsd.org/changeset/base/297142 Log: hyperv: Factor out snprinf_hv_guid() Submitted by: Ju Sun Reviewed by: Dexuan Cui , sephe MFC after:1 week Sponsored by: Microsoft OSTC Differential Rev