svn commit: r324075 - head/sys/dev/nvme

2017-09-27 Thread Warner Losh
Author: imp Date: Thu Sep 28 01:27:00 2017 New Revision: 324075 URL: https://svnweb.freebsd.org/changeset/base/324075 Log: Tweak performance of nda completions Use xpt_done_direct in preference to xpt_done when completing a successful I/O. Continue to use xpt_done when there's an error,

svn commit: r324074 - head/sys/fs/nfsclient

2017-09-27 Thread Rick Macklem
Author: rmacklem Date: Wed Sep 27 23:23:41 2017 New Revision: 324074 URL: https://svnweb.freebsd.org/changeset/base/324074 Log: Fix a memory leak that occurred in the pNFS client. When a "pnfs" NFSv4.1 mount was unmounted, it didn't free up the layouts and deviceinfo structures. This

svn commit: r324073 - head/sys/kern

2017-09-27 Thread John Baldwin
Author: jhb Date: Wed Sep 27 23:18:57 2017 New Revision: 324073 URL: https://svnweb.freebsd.org/changeset/base/324073 Log: Use UMA_ALIGNOF() for name cache UMA zones. This fixes kernel crashes due to misaligned accesses to the 64-bit time_t embedded in struct namecache_ts in MIPS n32

svn commit: r324072 - head/sys/vm

2017-09-27 Thread John Baldwin
Author: jhb Date: Wed Sep 27 23:15:33 2017 New Revision: 324072 URL: https://svnweb.freebsd.org/changeset/base/324072 Log: Add UMA_ALIGNOF(). This is a wrapper around _Alignof() that sets the alignment for a zone to the alignment required by a given type. This allows the compiler to

svn commit: r324071 - in head/sys: dev/bhnd dev/bhnd/bcma dev/bhnd/bhndb dev/bhnd/siba mips/broadcom modules/bhnd/bhndb_pci

2017-09-27 Thread Landon J. Fuller
Author: landonf Date: Wed Sep 27 19:48:34 2017 New Revision: 324071 URL: https://svnweb.freebsd.org/changeset/base/324071 Log: bhnd: Add support for supplying bus I/O callbacks when initializing an EROM parser. This allows us to use the EROM parser API in cases where the standard bus

svn commit: r324070 - in head/sys: dev/bhnd dev/bhnd/bhndb dev/bhnd/cores/chipc dev/bhnd/cores/chipc/pwrctl dev/bhnd/cores/pci dev/bhnd/cores/pmu dev/bhnd/nvram dev/bhnd/siba mips/broadcom

2017-09-27 Thread Landon J. Fuller
Author: landonf Date: Wed Sep 27 19:44:23 2017 New Revision: 324070 URL: https://svnweb.freebsd.org/changeset/base/324070 Log: bhnd: Implement bhnd(4) platform device registration. Add bhnd(4) API for explicitly registering BHND platform devices (ChipCommon, PMU, NVRAM, etc) with the

Re: svn commit: r324067 - in head/sys/dev/drm2: i915 radeon

2017-09-27 Thread Warner Losh
On Wed, Sep 27, 2017 at 1:14 PM, Conrad Meyer wrote: > Author: cem > Date: Wed Sep 27 19:14:00 2017 > New Revision: 324067 > URL: https://svnweb.freebsd.org/changeset/base/324067 > > Log: > Unrevert r324059 > > With a colon and bogus name ("#") added to appease the

svn commit: r324069 - head/sys/dev/pccard

2017-09-27 Thread Warner Losh
Author: imp Date: Wed Sep 27 19:22:10 2017 New Revision: 324069 URL: https://svnweb.freebsd.org/changeset/base/324069 Log: Since the human readable name is actually ignored, and not matching a 'human' pnp string, change it to #, the name reserved for fields that are ignored. Modified:

svn commit: r324068 - head/sys/sys

2017-09-27 Thread Warner Losh
Author: imp Date: Wed Sep 27 19:21:52 2017 New Revision: 324068 URL: https://svnweb.freebsd.org/changeset/base/324068 Log: Improve description of the PNP string a bit. Modified: head/sys/sys/module.h Modified: head/sys/sys/module.h

svn commit: r324067 - in head/sys/dev/drm2: i915 radeon

2017-09-27 Thread Conrad Meyer
Author: cem Date: Wed Sep 27 19:14:00 2017 New Revision: 324067 URL: https://svnweb.freebsd.org/changeset/base/324067 Log: Unrevert r324059 With a colon and bogus name ("#") added to appease the simplistic parser used in kldxref. Sponsored by: Dell EMC Isilon Modified:

Re: svn commit: r324065 - head/sys/dev/qlxgbe

2017-09-27 Thread Ed Schouten
2017-09-27 19:46 GMT+02:00 David C Somayajulu : > + *(hw_tx_cntxt->tx_cons) = 0; In this case the parentheses are superfluous, right? -> has a higher precedence than *. -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands

svn commit: r324065 - head/sys/dev/qlxgbe

2017-09-27 Thread David C Somayajulu
Author: davidcs Date: Wed Sep 27 17:46:11 2017 New Revision: 324065 URL: https://svnweb.freebsd.org/changeset/base/324065 Log: Tx Ring Shadow Consumer Index Register needs to be cleared prior to passing it's physical address to the FW during Tx Create Context. MFC after:3 days Modified:

svn commit: r324066 - in head/sys: cddl/contrib/opensolaris/uts/common/dtrace cddl/dev cddl/dev/dtmalloc cddl/dev/fbt cddl/dev/profile cddl/dev/sdt cddl/dev/systrace fs/nfsclient

2017-09-27 Thread Mark Johnston
Author: markj Date: Wed Sep 27 17:46:38 2017 New Revision: 324066 URL: https://svnweb.freebsd.org/changeset/base/324066 Log: Use C99 initializers for DTrace provider methods. This makes the definitions easier to read and more cscope-friendly. MFC after:1 week Modified:

svn commit: r324064 - head/sys/fs/ext2fs

2017-09-27 Thread Fedor Uporov
Author: fsu Date: Wed Sep 27 16:12:13 2017 New Revision: 324064 URL: https://svnweb.freebsd.org/changeset/base/324064 Log: Add check to avoid raw inode iblocks fields overflow in case of huge_file feature. Use the Linux logic for now. Reviewed by:pfg (mentor) Approved by:pfg

svn commit: r324063 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-09-27 Thread Alan Somers
Author: asomers Date: Wed Sep 27 15:29:17 2017 New Revision: 324063 URL: https://svnweb.freebsd.org/changeset/base/324063 Log: MFC r323813: MFV r323789: 8473 scrub does not detect errors on active spares illumos/illumos-gate@554675eee75dd2d7398d960aa5c81083ceb8505a

svn commit: r324062 - stable/11/sys/cddl/compat/opensolaris/sys

2017-09-27 Thread Alan Somers
Author: asomers Date: Wed Sep 27 15:07:41 2017 New Revision: 324062 URL: https://svnweb.freebsd.org/changeset/base/324062 Log: MFC r323194: Fix remounting ZFS filesystem with "zfs mount" "zfs mount -o" passes a list of mount options directly to nmount(2) after sanity checking them.

svn commit: r324061 - stable/11/cddl/compat/opensolaris/misc

2017-09-27 Thread Alan Somers
Author: asomers Date: Wed Sep 27 15:06:46 2017 New Revision: 324061 URL: https://svnweb.freebsd.org/changeset/base/324061 Log: MFC r323193: Honor all options of "zfs mount -o" The existing code in zmount incorrectly parses the comma-delimited option string. The result is that nmount

svn commit: r324060 - stable/11/etc/periodic/security

2017-09-27 Thread Alan Somers
Author: asomers Date: Wed Sep 27 15:05:49 2017 New Revision: 324060 URL: https://svnweb.freebsd.org/changeset/base/324060 Log: MFC r322868: Fix 100.chksetuid and 110.neggrpperm for mountpoints with spaces Also, fix them for mountpoints with tabs. PR: 48325 Reported

svn commit: r324059 - in head/sys/dev/drm2: i915 radeon

2017-09-27 Thread Conrad Meyer
Author: cem Date: Wed Sep 27 14:59:18 2017 New Revision: 324059 URL: https://svnweb.freebsd.org/changeset/base/324059 Log: Remove PNP metadata from drm2 drivers until kldxref problem is resolved Reported by: np Sponsored by: Dell EMC Isilon Modified: head/sys/dev/drm2/i915/i915_drv.c

svn commit: r324057 - stable/11/sys/vm

2017-09-27 Thread Mark Johnston
Author: markj Date: Wed Sep 27 14:18:20 2017 New Revision: 324057 URL: https://svnweb.freebsd.org/changeset/base/324057 Log: MFC r323564: Widen uk_pgoff, the slab header offset field. PR: 218911 Modified: stable/11/sys/vm/uma_int.h Directory Properties: stable/11/ (props

svn commit: r324058 - stable/11/sys/vm

2017-09-27 Thread Mark Johnston
Author: markj Date: Wed Sep 27 14:19:47 2017 New Revision: 324058 URL: https://svnweb.freebsd.org/changeset/base/324058 Log: MFC r323544: Fix a logic error in the item size calculation for internal UMA zones. Modified: stable/11/sys/vm/uma_core.c stable/11/sys/vm/vm_page.c Directory

Re: svn commit: r324038 - in head/sys: dev/bnxt dev/drm dev/drm2/i915 dev/drm2/radeon dev/e1000 net

2017-09-27 Thread Pintér , Olivér
On Wed, Sep 27, 2017 at 1:23 AM, Conrad Meyer wrote: > Author: cem > Date: Tue Sep 26 23:23:58 2017 > New Revision: 324038 > URL: https://svnweb.freebsd.org/changeset/base/324038 > > Log: > Add PNP metadata to more drivers > > GPUs: radeonkms, i915kms > NICs: if_em,

svn commit: r324056 - head/sys/netinet

2017-09-27 Thread Michael Tuexen
Author: tuexen Date: Wed Sep 27 13:05:23 2017 New Revision: 324056 URL: https://svnweb.freebsd.org/changeset/base/324056 Log: Remove unused function. MFC after:1 week Modified: head/sys/netinet/sctp_asconf.c head/sys/netinet/sctp_asconf.h Modified: head/sys/netinet/sctp_asconf.c

svn commit: r324055 - stable/11/sys/sys

2017-09-27 Thread Ed Schouten
Author: ed Date: Wed Sep 27 11:31:11 2017 New Revision: 324055 URL: https://svnweb.freebsd.org/changeset/base/324055 Log: MFC r322965: Make _Static_assert() work with GCC in older C++ standards. GCC only activates C11 keywords in C mode, not C++ mode. This means that when

svn commit: r324054 - head/sys/kern

2017-09-27 Thread Emmanuel Vadot
Author: manu Date: Wed Sep 27 09:39:16 2017 New Revision: 324054 URL: https://svnweb.freebsd.org/changeset/base/324054 Log: vfs_export: Simplify vfs_export_lookup If the filesystem is not exported directly return NULL. If no address is given and filesystem is exported using some default

svn commit: r324053 - head/sys/sys

2017-09-27 Thread Sepherosa Ziehau
Author: sephe Date: Wed Sep 27 06:33:55 2017 New Revision: 324053 URL: https://svnweb.freebsd.org/changeset/base/324053 Log: kernel: Bump __FreeBSD_version for the removal of M_HASHTYPE_RSS_UDP_IPV4_EX Sponsored by: Microsoft Modified: head/sys/sys/param.h Modified:

svn commit: r324052 - head/sys/sys

2017-09-27 Thread Sepherosa Ziehau
Author: sephe Date: Wed Sep 27 06:31:35 2017 New Revision: 324052 URL: https://svnweb.freebsd.org/changeset/base/324052 Log: mbuf: Remove UDP_IPV4_EX, which was never defined. Add comment to explain the IPV6_EX suffix. The confusion about these RSS hash type probably stems from the

svn commit: r324051 - head/sys/dev/ixl

2017-09-27 Thread Sepherosa Ziehau
Author: sephe Date: Wed Sep 27 05:59:54 2017 New Revision: 324051 URL: https://svnweb.freebsd.org/changeset/base/324051 Log: ixl: Fix mbuf hash type settings. IPV6_EXs in RSS never mean fragment. They mean: "- Home address from the home address option in the IPv6 destination