svn commit: r294385 - stable/10/sys/dev/sfxge/common

2016-01-19 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jan 20 07:59:04 2016 New Revision: 294385 URL: https://svnweb.freebsd.org/changeset/base/294385 Log: MFC r293900 sfxge: add table entries for License NVRAM partition Submitted by: Richard Houldsworth Reviewed by:gnn Sponsored by: Solarflare Commu

svn commit: r294384 - stable/10/sys/dev/sfxge/common

2016-01-19 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jan 20 07:57:18 2016 New Revision: 294384 URL: https://svnweb.freebsd.org/changeset/base/294384 Log: MFC r293899 sfxge: cleanup: adjust efx_mcdi_get_port_modes() comment for clarity Fix an explanatory comment which did not explain very well. Submitted by

svn commit: r294383 - stable/10/sys/dev/sfxge/common

2016-01-19 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jan 20 07:53:26 2016 New Revision: 294383 URL: https://svnweb.freebsd.org/changeset/base/294383 Log: MFC r293895 sfxge: fix common code VPD iterator and duplicate tag verification Fix efx_vpd_hunk_next() which has -- since its inception -- failed to correct

svn commit: r294382 - stable/10/sys/dev/sfxge/common

2016-01-19 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jan 20 07:52:24 2016 New Revision: 294382 URL: https://svnweb.freebsd.org/changeset/base/294382 Log: MFC r293892 sfxge: use correct register definitions for setting interrupt moderation on Medford The only value which has changed is the number of rows (ER_

svn commit: r294381 - stable/10/sys/dev/sfxge/common

2016-01-19 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jan 20 07:51:23 2016 New Revision: 294381 URL: https://svnweb.freebsd.org/changeset/base/294381 Log: MFC r293891 sfxge: support FATSOv2 in common code Reviewed by:gnn Sponsored by: Solarflare Communications, Inc. Modified: stable/10/sys/dev/sfxge/c

svn commit: r294380 - stable/10/sys/dev/sfxge/common

2016-01-19 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jan 20 07:50:00 2016 New Revision: 294380 URL: https://svnweb.freebsd.org/changeset/base/294380 Log: MFC r293890 sfxge: rx_prefix_pktlen methods do not require EFSYS_OPT_RX_SCALE Submitted by: Mark Spender Reviewed by:gnn Sponsored by: Solarflare

svn commit: r294379 - stable/10/sys/dev/sfxge/common

2016-01-19 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jan 20 07:48:49 2016 New Revision: 294379 URL: https://svnweb.freebsd.org/changeset/base/294379 Log: MFC r293889,r294080,r294093,r294201,r294249-r294252 sfxge: convert nvram methods to use partition id Submitted by: Andy Moreton Sponsored by: Solarflar

svn commit: r294378 - stable/10/sys/dev/sfxge/common

2016-01-19 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jan 20 07:44:05 2016 New Revision: 294378 URL: https://svnweb.freebsd.org/changeset/base/294378 Log: MFC r293888 sfxge: rework MCDI start request Submitted by: Andy Moreton Reviewed by:gnn Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r294377 - stable/10/sys/dev/sfxge/common

2016-01-19 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jan 20 07:42:31 2016 New Revision: 294377 URL: https://svnweb.freebsd.org/changeset/base/294377 Log: MFC r293887 sfxge: add Medford NIC methods Submitted by: Mark Spender Reviewed by:gnn Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r294376 - stable/9/contrib/bind9

2016-01-19 Thread Xin LI
Author: delphij Date: Wed Jan 20 07:33:45 2016 New Revision: 294376 URL: https://svnweb.freebsd.org/changeset/base/294376 Log: Mergeinfo fixup. Modified: Directory Properties: stable/9/contrib/bind9/ (props changed) ___ svn-src-all@freebsd.org mai

svn commit: r294375 - vendor/bind9/9.9.8-P3

2016-01-19 Thread Xin LI
Author: delphij Date: Wed Jan 20 07:28:10 2016 New Revision: 294375 URL: https://svnweb.freebsd.org/changeset/base/294375 Log: Tag the BIND 9.9.8-P3 release. Added: vendor/bind9/9.9.8-P3/ - copied from r294374, vendor/bind9/dist/ ___ svn-src-al

svn commit: r294374 - in vendor/bind9/dist: . doc/arm lib/dns lib/dns/rdata/in_1

2016-01-19 Thread Xin LI
Author: delphij Date: Wed Jan 20 07:27:07 2016 New Revision: 294374 URL: https://svnweb.freebsd.org/changeset/base/294374 Log: Vendor import of BIND 9.9.8-P3. Modified: vendor/bind9/dist/CHANGES vendor/bind9/dist/README vendor/bind9/dist/doc/arm/Bv9ARM.ch01.html vendor/bind9/dist/doc/ar

svn commit: r294373 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 powerpc powerpc64 riscv sparc64

2016-01-19 Thread Konstantin Belousov
Author: kib Date: Wed Jan 20 07:21:33 2016 New Revision: 294373 URL: https://svnweb.freebsd.org/changeset/base/294373 Log: Do not call callbacks for dl_iterate_phdr(3) with the rtld bind and phdr locks locked. This allows to call rtld services from the callback, which is only reasonable for

svn commit: r294372 - head/sys/dev/sfxge

2016-01-19 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jan 20 06:56:18 2016 New Revision: 294372 URL: https://svnweb.freebsd.org/changeset/base/294372 Log: sfxge: refresh version to note matching version of out-of-tree driver Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified: head/sy

svn commit: r294371 - head/sys/dev/sfxge/common

2016-01-19 Thread Andrew Rybchenko
Author: arybchik Date: Wed Jan 20 06:50:30 2016 New Revision: 294371 URL: https://svnweb.freebsd.org/changeset/base/294371 Log: sfxge: cleanup: support __out_bcount_part[_opt] PREfast annotations New annotation coming into use in the common code. Support its use by adding null macro defin

Re: svn commit: r294362 - in head/sys: dev/uart kern sys

2016-01-19 Thread John Baldwin
On Tuesday, January 19, 2016 06:36:04 PM John Baldwin wrote: > On Tuesday, January 19, 2016 06:14:14 PM John Baldwin wrote: > > On Tuesday, January 19, 2016 11:34:28 PM Marius Strobl wrote: > > > Author: marius > > > Date: Tue Jan 19 23:34:27 2016 > > > New Revision: 294362 > > > URL: https://svnwe

Re: svn commit: r294362 - in head/sys: dev/uart kern sys

2016-01-19 Thread Adrian Chadd
On 19 January 2016 at 18:36, John Baldwin wrote: [snip] > > The code in ttydev_leave() is: > > /* Drain any output. */ > MPASS((tp->t_flags & TF_STOPPED) == 0); > if (!tty_gone(tp)) > tty_drain(tp, 1); > > Nothing in tty_drain() sets TF_GONE yet, so this s

Re: svn commit: r294362 - in head/sys: dev/uart kern sys

2016-01-19 Thread John Baldwin
On Tuesday, January 19, 2016 06:14:14 PM John Baldwin wrote: > On Tuesday, January 19, 2016 11:34:28 PM Marius Strobl wrote: > > Author: marius > > Date: Tue Jan 19 23:34:27 2016 > > New Revision: 294362 > > URL: https://svnweb.freebsd.org/changeset/base/294362 > > > > Log: > > Fix tty_drain() a

Re: svn commit: r294362 - in head/sys: dev/uart kern sys

2016-01-19 Thread Ian Lepore
On Tue, 2016-01-19 at 23:34 +, Marius Strobl wrote: > Author: marius > Date: Tue Jan 19 23:34:27 2016 > New Revision: 294362 > URL: https://svnweb.freebsd.org/changeset/base/294362 > > Log: > Fix tty_drain() and, thus, TIOCDRAIN of the current tty(4) incarnation > to actually wait until th

Re: svn commit: r294362 - in head/sys: dev/uart kern sys

2016-01-19 Thread John Baldwin
On Tuesday, January 19, 2016 11:34:28 PM Marius Strobl wrote: > Author: marius > Date: Tue Jan 19 23:34:27 2016 > New Revision: 294362 > URL: https://svnweb.freebsd.org/changeset/base/294362 > > Log: > Fix tty_drain() and, thus, TIOCDRAIN of the current tty(4) incarnation > to actually wait un

Re: svn commit: r291941 - in head: lib/libpam/modules/pam_ssh secure/lib/libssh secure/libexec/sftp-server secure/libexec/ssh-keysign secure/libexec/ssh-pkcs11-helper secure/usr.bin/scp secure/usr.bin

2016-01-19 Thread Bryan Drewery
On 1/19/2016 4:40 PM, Bryan Drewery wrote: > On 1/19/2016 9:40 AM, Bryan Drewery wrote: >> On 1/19/2016 8:13 AM, Bryan Drewery wrote: >>> On 1/19/2016 5:56 AM, Dag-Erling Smørgrav wrote: Bryan Drewery writes: > Log: > Replace unneeded manual dependency on header by adding it to SRCS

svn commit: r294370 - head/share/mk

2016-01-19 Thread Bryan Drewery
Author: bdrewery Date: Wed Jan 20 01:40:18 2016 New Revision: 294370 URL: https://svnweb.freebsd.org/changeset/base/294370 Log: mkdep: Fix -include not being added for .depend tracking. This fixes incremental build of OpenSSH after the recent upgrade. For example, in secure/lib/libssh,

svn commit: r294369 - in stable/10/sys/amd64: linux linux32

2016-01-19 Thread John Baldwin
Author: jhb Date: Wed Jan 20 01:11:01 2016 New Revision: 294369 URL: https://svnweb.freebsd.org/changeset/base/294369 Log: Regen for r294368. Modified: stable/10/sys/amd64/linux/linux_proto.h stable/10/sys/amd64/linux/linux_syscall.h stable/10/sys/amd64/linux/linux_syscalls.c stable/10/

Re: svn commit: r289769 - in head/sys: amd64/linux amd64/linux32 cddl/dev/systrace kern modules/dtrace modules/dtrace/systrace_linux modules/dtrace/systrace_linux32

2016-01-19 Thread John Baldwin
On Saturday, January 16, 2016 04:08:42 PM Chagin Dmitry wrote: > On Thu, Oct 22, 2015 at 09:28:21PM +, John Baldwin wrote: > > Author: jhb > > Date: Thu Oct 22 21:28:20 2015 > > New Revision: 289769 > > URL: https://svnweb.freebsd.org/changeset/base/289769 > > > > Log: > > Rename remaining l

svn commit: r294368 - in stable/10/sys: amd64/linux amd64/linux32 cddl/dev/systrace compat/linux kern modules/dtrace modules/dtrace/systrace_linux modules/dtrace/systrace_linux32

2016-01-19 Thread John Baldwin
Author: jhb Date: Wed Jan 20 01:09:53 2016 New Revision: 294368 URL: https://svnweb.freebsd.org/changeset/base/294368 Log: MFC 289769,289822,290143,290144: Rename remaining linux32 symbols from linux_* to linux32_*. 289769: Rename remaining linux32 symbols such as linux_sysent[] and l

Re: svn commit: r291941 - in head: lib/libpam/modules/pam_ssh secure/lib/libssh secure/libexec/sftp-server secure/libexec/ssh-keysign secure/libexec/ssh-pkcs11-helper secure/usr.bin/scp secure/usr.bin

2016-01-19 Thread Bryan Drewery
On 1/19/2016 9:40 AM, Bryan Drewery wrote: > On 1/19/2016 8:13 AM, Bryan Drewery wrote: >> On 1/19/2016 5:56 AM, Dag-Erling Smørgrav wrote: >>> Bryan Drewery writes: Log: Replace unneeded manual dependency on header by adding it to SRCS. bsd.lib.mk and bsd.prog.mk alread

svn commit: r294367 - head/lib/libpam/modules/pam_ssh

2016-01-19 Thread John Baldwin
Author: jhb Date: Wed Jan 20 00:26:50 2016 New Revision: 294367 URL: https://svnweb.freebsd.org/changeset/base/294367 Log: Update for API changes in OpenSSH 6.8p1. First, the authfd API now uses a direct file descriptor for the control socket instead of a more abstract AuthenticationConne

svn commit: r294366 - head/sys/compat/linuxkpi/common/src

2016-01-19 Thread John Baldwin
Author: jhb Date: Wed Jan 20 00:14:34 2016 New Revision: 294366 URL: https://svnweb.freebsd.org/changeset/base/294366 Log: Initialize vm_page_prot to VM_MEMATTR_DEFAULT instead of 0. If a driver's Linux mmap callback passed vm_page_prot through unchanged, then linux_dev_mmap_single() woul

svn commit: r294365 - head/secure/lib/libssh

2016-01-19 Thread John Baldwin
Author: jhb Date: Wed Jan 20 00:03:28 2016 New Revision: 294365 URL: https://svnweb.freebsd.org/changeset/base/294365 Log: List source files (foo.c) instead of object files in SRCS. Reviewed by: bdrewery Modified: head/secure/lib/libssh/Makefile Modified: head/secure/lib/libssh/Makefil

svn commit: r294364 - in stable/10: contrib/smbfs/lib/smb lib usr.sbin

2016-01-19 Thread Ian Lepore
Author: ian Date: Tue Jan 19 23:36:49 2016 New Revision: 294364 URL: https://svnweb.freebsd.org/changeset/base/294364 Log: MFC r292337, r292552, r292553: Build mount_smbfs for arm. Also sort the subdirs. Avoid unaligned memory accesses when encoding netbios names in libsmb.

svn commit: r294363 - head/sys/powerpc/booke

2016-01-19 Thread Justin Hibbits
Author: jhibbits Date: Tue Jan 19 23:35:12 2016 New Revision: 294363 URL: https://svnweb.freebsd.org/changeset/base/294363 Log: Revert a printf change from r294307. Caused build failures with MPC85XX. Pointy-hat to:jhibbits Modified: head/sys/powerpc/booke/pmap.c Modified:

svn commit: r294362 - in head/sys: dev/uart kern sys

2016-01-19 Thread Marius Strobl
Author: marius Date: Tue Jan 19 23:34:27 2016 New Revision: 294362 URL: https://svnweb.freebsd.org/changeset/base/294362 Log: Fix tty_drain() and, thus, TIOCDRAIN of the current tty(4) incarnation to actually wait until the TX FIFOs of UARTs have be drained before returning. This is done by

svn commit: r294361 - head/share/mk

2016-01-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jan 19 23:28:18 2016 New Revision: 294361 URL: https://svnweb.freebsd.org/changeset/base/294361 Log: FAST_DEPEND: Fix improperly depending all .So objects on all headers. This was a regression in r290629, which was revealed partly in r294360. Once 'make depend'

svn commit: r294360 - head/sys/conf

2016-01-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jan 19 23:25:25 2016 New Revision: 294360 URL: https://svnweb.freebsd.org/changeset/base/294360 Log: Revert r294352. Further research showed it was the wrong fix and revealed a bigger problem with the goal of skipping 'make depend'. Modified: head/sys/conf/km

svn commit: r294359 - stable/10/lib/libc/tests/net

2016-01-19 Thread Garrett Cooper
Author: ngie Date: Tue Jan 19 23:18:49 2016 New Revision: 294359 URL: https://svnweb.freebsd.org/changeset/base/294359 Log: Default __MAKE_SHELL to /bin/sh when generating aton_ether_subr.c via `gen_ether_subr`. __MAKE_SHELL is only defined when installworld is run on stable/10, which b

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

2016-01-19 Thread Alan Somers
Author: asomers Date: Tue Jan 19 23:16:24 2016 New Revision: 294358 URL: https://svnweb.freebsd.org/changeset/base/294358 Log: Quell harmless CID about unchecked return value in nvlist_get_guids. The return value doesn't need to be checked, because nvlist_get_guid's callers check the retu

Re: svn commit: r294332 - in head: crypto/openssh crypto/openssh/contrib crypto/openssh/contrib/caldera crypto/openssh/contrib/cygwin crypto/openssh/contrib/redhat crypto/openssh/contrib/suse crypto/o

2016-01-19 Thread John Baldwin
On Tuesday, January 19, 2016 02:07:20 PM John Baldwin wrote: > On Tuesday, January 19, 2016 06:28:23 PM Dag-Erling Smørgrav wrote: > > Author: des > > Date: Tue Jan 19 18:28:23 2016 > > New Revision: 294332 > > URL: https://svnweb.freebsd.org/changeset/base/294332 > > > > Log: > > Upgrade to Ope

svn commit: r294356 - head/tools/build

2016-01-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jan 19 22:42:13 2016 New Revision: 294356 URL: https://svnweb.freebsd.org/changeset/base/294356 Log: Add some documentation. Sponsored by: EMC / Isilon Storage Division Modified: head/tools/build/check-links.sh Modified: head/tools/build/check-links.sh ===

svn commit: r294354 - head/share/mk

2016-01-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jan 19 22:42:07 2016 New Revision: 294354 URL: https://svnweb.freebsd.org/changeset/base/294354 Log: bsd.subdir.mk: Allow easier modification of [STANDALONE_]SUBDIR_TARGETS. This reworks r289254 and removes ALL_SUBDIR_TARGETS. Because there is an include guar

svn commit: r294357 - head/tools/build

2016-01-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jan 19 22:42:16 2016 New Revision: 294357 URL: https://svnweb.freebsd.org/changeset/base/294357 Log: Allow specifying an alternative LD_LIBRARY_PATH for the ldd(1) lookup. This is needed to be able to run check-links.sh against a "sysrooted" binary while ensurin

svn commit: r294355 - head/tools/build

2016-01-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jan 19 22:42:10 2016 New Revision: 294355 URL: https://svnweb.freebsd.org/changeset/base/294355 Log: Validate that the file exists rather than obscure 'Not an elf file' error. Sponsored by: EMC / Isilon Storage Division Modified: head/tools/build/check-links.sh

svn commit: r294350 - head/share/mk

2016-01-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jan 19 22:41:55 2016 New Revision: 294350 URL: https://svnweb.freebsd.org/changeset/base/294350 Log: META_MODE: Ensure bmake does not use filemon if it is not loaded. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/sys.mk Modified: head/sha

svn commit: r294353 - head/share/mk

2016-01-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jan 19 22:42:04 2016 New Revision: 294353 URL: https://svnweb.freebsd.org/changeset/base/294353 Log: installconfig is PARALLEL_SUBDIR safe. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/bsd.subdir.mk Modified: head/share/mk/bsd.subdir.mk

svn commit: r294351 - head/share/mk

2016-01-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jan 19 22:41:58 2016 New Revision: 294351 URL: https://svnweb.freebsd.org/changeset/base/294351 Log: FAST_DEPEND: Still use if filemon is not used. If filemon is used then there is no need to generate dependency files during compilation as the .meta files will a

svn commit: r294352 - head/sys/conf

2016-01-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jan 19 22:42:01 2016 New Revision: 294352 URL: https://svnweb.freebsd.org/changeset/base/294352 Log: FAST_DEPEND: Add header dependency missed in r290629. Sponsored by: EMC / Isilon Storage Division Modified: head/sys/conf/kmod.mk Modified: head/sys/conf/kmod.

svn commit: r294349 - head/share/mk

2016-01-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jan 19 22:41:44 2016 New Revision: 294349 URL: https://svnweb.freebsd.org/changeset/base/294349 Log: Define .MAKE.MODE to normal to avoid the need for :U later. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/bsd.dep.mk head/share/mk/local

svn commit: r294348 - head/bin/sh

2016-01-19 Thread Jilles Tjoelker
Author: jilles Date: Tue Jan 19 22:41:26 2016 New Revision: 294348 URL: https://svnweb.freebsd.org/changeset/base/294348 Log: sh: Simplify some code related to positional parameters. Modified: head/bin/sh/options.c head/bin/sh/options.h Modified: head/bin/sh/options.c =

Re: svn commit: r294332 - in head: crypto/openssh crypto/openssh/contrib crypto/openssh/contrib/caldera crypto/openssh/contrib/cygwin crypto/openssh/contrib/redhat crypto/openssh/contrib/suse crypto/o

2016-01-19 Thread John Baldwin
On Tuesday, January 19, 2016 06:28:23 PM Dag-Erling Smørgrav wrote: > Author: des > Date: Tue Jan 19 18:28:23 2016 > New Revision: 294332 > URL: https://svnweb.freebsd.org/changeset/base/294332 > > Log: > Upgrade to OpenSSH 6.8p1. This broke the build of pam_ssh. I am currently build testing a

svn commit: r294347 - head/usr.bin/truncate/tests

2016-01-19 Thread Alan Somers
Author: asomers Date: Tue Jan 19 22:07:39 2016 New Revision: 294347 URL: https://svnweb.freebsd.org/changeset/base/294347 Log: Fix usr.bin.truncate.truncate_test.bad_truncate with ZFS /tmp. The bad_truncate test sets the uimmutable flag to produce an error in truncate, but that flag isn't

svn commit: r294346 - stable/10/sys/boot/uboot/common

2016-01-19 Thread Ian Lepore
Author: ian Date: Tue Jan 19 21:42:19 2016 New Revision: 294346 URL: https://svnweb.freebsd.org/changeset/base/294346 Log: MFC r292888: Fix the error checking for the ubenv command. This moves the check for an empty ldvar (which amounts to the varname string starting with '=') into

svn commit: r294345 - stable/10/sys/boot/efi/loader

2016-01-19 Thread Ian Lepore
Author: ian Date: Tue Jan 19 21:39:21 2016 New Revision: 294345 URL: https://svnweb.freebsd.org/changeset/base/294345 Log: MFC r292584: Set env vars from values on the efi loader command line. Examine each cmdline arg and if it contains an '=' convert it to ascii and pass it to

svn commit: r294344 - in head/sys: kern vm

2016-01-19 Thread John Baldwin
Author: jhb Date: Tue Jan 19 21:37:51 2016 New Revision: 294344 URL: https://svnweb.freebsd.org/changeset/base/294344 Log: Various cleanups to the main function for AIO kernel processes: - Pull the vmspace logic out into helper functions and reduce duplication. Operations on the vmspace

svn commit: r294343 - stable/10/lib/libstand

2016-01-19 Thread Ian Lepore
Author: ian Date: Tue Jan 19 21:35:09 2016 New Revision: 294343 URL: https://svnweb.freebsd.org/changeset/base/294343 Log: MFC r292583: Allow dhcp/bootp server-provided values to be overriden from environment variables in loader(8) and other libstand applications. Sometimes a d

svn commit: r294342 - in stable/10: lib/libstand sys/boot/libstand32

2016-01-19 Thread Ian Lepore
Author: ian Date: Tue Jan 19 21:27:25 2016 New Revision: 294342 URL: https://svnweb.freebsd.org/changeset/base/294342 Log: MFC r292234, r292527: Add strlcat() and strlcpy() to libstand and libstand32. Modified: stable/10/lib/libstand/Makefile stable/10/sys/boot/libstand32/Makefile Di

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

2016-01-19 Thread Nikolai Lifanov
On 01/19/16 16:02, Nikolai Lifanov wrote: > On 01/19/16 15:52, Kurt Lidl wrote: >> On 1/19/16 1:55 PM, Alan Somers wrote: >>> On Tue, Jan 19, 2016 at 10:00 AM, Alan Somers >>> wrote: Author: asomers Date: Tue Jan 19 17:00:25 2016 New Revision: 294329 URL: https://svnweb.freebsd

svn commit: r294341 - stable/10/sys/boot/uboot/common

2016-01-19 Thread Ian Lepore
Author: ian Date: Tue Jan 19 21:21:59 2016 New Revision: 294341 URL: https://svnweb.freebsd.org/changeset/base/294341 Log: MFC r291164, r291876, r292227: Print more detailed info about the disk and partition chosen for booting. No behavioral changes, just cosmetics. Remove stra

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

2016-01-19 Thread Nikolai Lifanov
On 01/19/16 15:52, Kurt Lidl wrote: > On 1/19/16 1:55 PM, Alan Somers wrote: >> On Tue, Jan 19, 2016 at 10:00 AM, Alan Somers >> wrote: >>> Author: asomers >>> Date: Tue Jan 19 17:00:25 2016 >>> New Revision: 294329 >>> URL: https://svnweb.freebsd.org/changeset/base/294329 >>> >>> Log: >>>Disa

svn commit: r294340 - in stable/10: share/man/man9 sys/dev/pci

2016-01-19 Thread John Baldwin
Author: jhb Date: Tue Jan 19 21:08:31 2016 New Revision: 294340 URL: https://svnweb.freebsd.org/changeset/base/294340 Log: MFC 292669: Add accessor methods to fetch the BAR holding the MSI-X table and PBA. While here, explicitly note the requirement that the BAR(s) must be allocated pri

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Ryan Stone
On Tue, Jan 19, 2016 at 3:23 PM, Adrian Chadd wrote: > Sure, but TCP fragments and non-fragments can hash to different > values, so suddenly you get interleaved packets. > If the NIC is hashing fragments and non-fragments to different values, aren't we already potentially getting out-of-order pa

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

2016-01-19 Thread Kurt Lidl
On 1/19/16 1:55 PM, Alan Somers wrote: On Tue, Jan 19, 2016 at 10:00 AM, Alan Somers wrote: Author: asomers Date: Tue Jan 19 17:00:25 2016 New Revision: 294329 URL: https://svnweb.freebsd.org/changeset/base/294329 Log: Disallow zvol-backed ZFS pools Using zvols as backing devices for ZF

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Hans Petter Selasky
On 01/19/16 21:47, Adrian Chadd wrote: In this setup you may have the fragments show up at a different hash value to the non-fragments, so you'll handle all the non-fragments first, then the fragments show up later. So hopefully the LRO code handles seeing that hole in the TCP stream and will eje

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Adrian Chadd
On 19 January 2016 at 12:44, Hans Petter Selasky wrote: > On 01/19/16 21:23, Adrian Chadd wrote: >> >> On 19 January 2016 at 12:24, Hans Petter Selasky wrote: >>> >>> On 01/19/16 21:05, Adrian Chadd wrote: Erm, ok. So I'm confused about the state of how the streams are tracked

svn commit: r294339 - head/sys/kern

2016-01-19 Thread John Baldwin
Author: jhb Date: Tue Jan 19 20:46:30 2016 New Revision: 294339 URL: https://svnweb.freebsd.org/changeset/base/294339 Log: Don't create a dedicated session for each AIO kernel process. This code dates back to the initial AIO support and the commit log does not explain why it is needed. H

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Hans Petter Selasky
On 01/19/16 21:23, Adrian Chadd wrote: On 19 January 2016 at 12:24, Hans Petter Selasky wrote: On 01/19/16 21:05, Adrian Chadd wrote: Erm, ok. So I'm confused about the state of how the streams are tracked. So not all mbufs are in a stream, but they're in some single LRO mbuf list? Hi, Th

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

2016-01-19 Thread Bryan Drewery
On 1/19/2016 10:07 AM, Shawn Webb wrote: > On Tue, Jan 19, 2016 at 10:20:38AM -0700, Alan Somers wrote: >> On Tue, Jan 19, 2016 at 10:08 AM, Kurt Lidl wrote: >>> Removing the ability to run different zpools on top of a zvol is >>> a significant reduction in functionality of the entire system, and

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Adrian Chadd
On 19 January 2016 at 12:24, Hans Petter Selasky wrote: > On 01/19/16 21:05, Adrian Chadd wrote: >> >> Erm, ok. So I'm confused about the state of how the streams are >> tracked. So not all mbufs are in a stream, but they're in some single >> LRO mbuf list? >> > > Hi, > > The streams are typically

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Adrian Chadd
.. and just for reference, qsort ends up being very inefficient when you start having lots of entries with the same value, because the partitioning stops being log n... -a ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listin

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Hans Petter Selasky
On 01/19/16 21:05, Adrian Chadd wrote: Erm, ok. So I'm confused about the state of how the streams are tracked. So not all mbufs are in a stream, but they're in some single LRO mbuf list? Hi, The streams are typically tracked using the hardware generated Toeplitz hash value. The mbufs are so

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Adrian Chadd
Erm, ok. So I'm confused about the state of how the streams are tracked. So not all mbufs are in a stream, but they're in some single LRO mbuf list? -adrian On 19 January 2016 at 11:38, Hans Petter Selasky wrote: > On 01/19/16 20:26, Adrian Chadd wrote: >> >> Well, why are you using qsort to do

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Hans Petter Selasky
On 01/19/16 20:26, Adrian Chadd wrote: Well, why are you using qsort to do it, rather than walking the list of streams and inputting all the mbufs per stream? That's an O(1) operation. Because you don't know when the stream ends and then you'll need to pass the list one time for every stream

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Hans Petter Selasky
On 01/19/16 18:01, Ryan Stone wrote: libkern's qsort() is a quicksort implementation. AFAICT it has the worst case behaviour that I describe. FYI: https://reviews.freebsd.org/D4994 --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Adrian Chadd
Well, why are you using qsort to do it, rather than walking the list of streams and inputting all the mbufs per stream? That's an O(1) operation. -a ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To uns

RE: svn commit: r294329 - inhead/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2016-01-19 Thread Cy Schubert
Thanks :) I do a lot of ufs on zvols too, and yes, there are performance impacts due to double caching -- I use ufs and zfs mounted zvols for installworld/installkernel which are later unmounted on the host and booted as VMs for testing. Sent from my cellphone, ~Cy -Original Message-

svn commit: r294338 - in stable: 10/usr.sbin/boot0cfg 9/usr.sbin/boot0cfg

2016-01-19 Thread John Baldwin
Author: jhb Date: Tue Jan 19 19:04:56 2016 New Revision: 294338 URL: https://svnweb.freebsd.org/changeset/base/294338 Log: MFC 292410,292443,293977: Exit cleanly if malloc() fails to allocate a buffer for a copy of the current MBR. PR: 205322 Submitted by: Alexander Kuleshov

svn commit: r294338 - in stable: 10/usr.sbin/boot0cfg 9/usr.sbin/boot0cfg

2016-01-19 Thread John Baldwin
Author: jhb Date: Tue Jan 19 19:04:56 2016 New Revision: 294338 URL: https://svnweb.freebsd.org/changeset/base/294338 Log: MFC 292410,292443,293977: Exit cleanly if malloc() fails to allocate a buffer for a copy of the current MBR. PR: 205322 Submitted by: Alexander Kuleshov

svn commit: r294336 - in head/crypto/openssh: . contrib/redhat contrib/suse openbsd-compat regress regress/unittests/hostkeys regress/unittests/sshkey

2016-01-19 Thread Dag-Erling Smørgrav
Author: des Date: Tue Jan 19 18:55:44 2016 New Revision: 294336 URL: https://svnweb.freebsd.org/changeset/base/294336 Log: Upgrade to OpenSSH 6.9p1. Added: head/crypto/openssh/regress/cfgparse.sh - copied unchanged from r285033, vendor-crypto/openssh/dist/regress/cfgparse.sh head/cryp

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

2016-01-19 Thread Alan Somers
On Tue, Jan 19, 2016 at 10:00 AM, Alan Somers wrote: > Author: asomers > Date: Tue Jan 19 17:00:25 2016 > New Revision: 294329 > URL: https://svnweb.freebsd.org/changeset/base/294329 > > Log: > Disallow zvol-backed ZFS pools > > Using zvols as backing devices for ZFS pools is fraught with pani

svn commit: r294335 - head/crypto/openssh

2016-01-19 Thread Dag-Erling Smørgrav
Author: des Date: Tue Jan 19 18:38:17 2016 New Revision: 294335 URL: https://svnweb.freebsd.org/changeset/base/294335 Log: Re-add HPN configuration options as deprecated options to avoid breaking existing configurations that use them. Note that there is no functional difference between Open

RE: svn commit: r294329 - inhead/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2016-01-19 Thread Cy Schubert
Just another thought. If we must do this, why not a sysctl to restore functionality to those of us who need it. If indeed there are panics and hangs due to zpools on vdevs, a sysctl to bypass the restriction, in effect saying "I understand the risk," would be a reasonable compromise. I'm willing

svn commit: r294334 - in stable: 10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-01-19 Thread Dimitry Andric
Author: dim Date: Tue Jan 19 18:35:22 2016 New Revision: 294334 URL: https://svnweb.freebsd.org/changeset/base/294334 Log: MFC r294102: MFV r294101: 6527 Possible access beyond end of string in zpool comment Reviewed by: George Wilson Reviewed by: Matthew Ahrens Reviewed by: Dan

svn commit: r294334 - in stable: 10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-01-19 Thread Dimitry Andric
Author: dim Date: Tue Jan 19 18:35:22 2016 New Revision: 294334 URL: https://svnweb.freebsd.org/changeset/base/294334 Log: MFC r294102: MFV r294101: 6527 Possible access beyond end of string in zpool comment Reviewed by: George Wilson Reviewed by: Matthew Ahrens Reviewed by: Dan

svn commit: r294334 - in stable: 10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-01-19 Thread Dimitry Andric
Author: dim Date: Tue Jan 19 18:35:22 2016 New Revision: 294334 URL: https://svnweb.freebsd.org/changeset/base/294334 Log: MFC r294102: MFV r294101: 6527 Possible access beyond end of string in zpool comment Reviewed by: George Wilson Reviewed by: Matthew Ahrens Reviewed by: Dan

svn commit: r294333 - in head/crypto/openssh: . contrib openbsd-compat regress regress/unittests/bitmap regress/unittests/hostkeys regress/unittests/kex

2016-01-19 Thread Dag-Erling Smørgrav
Author: des Date: Tue Jan 19 18:32:51 2016 New Revision: 294333 URL: https://svnweb.freebsd.org/changeset/base/294333 Log: begone, foul autoprops! Modified: Directory Properties: head/crypto/openssh/bitmap.c (props changed) head/crypto/openssh/bitmap.h (props changed) head/crypto/open

svn commit: r294332 - in head: crypto/openssh crypto/openssh/contrib crypto/openssh/contrib/caldera crypto/openssh/contrib/cygwin crypto/openssh/contrib/redhat crypto/openssh/contrib/suse crypto/op...

2016-01-19 Thread Dag-Erling Smørgrav
Author: des Date: Tue Jan 19 18:28:23 2016 New Revision: 294332 URL: https://svnweb.freebsd.org/changeset/base/294332 Log: Upgrade to OpenSSH 6.8p1. Added: head/crypto/openssh/.cvsignore - copied unchanged from r285031, vendor-crypto/openssh/dist/.cvsignore head/crypto/openssh/bitmap.c

RE: svn commit: r294329 - inhead/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2016-01-19 Thread Cy Schubert
Agreed, I do a fair bit of testing (nothing permanent) by putting zpools on zvols. I have never experienced a hang or panic due to zpools on zvols. This is a POLA violation. Regarding zfs hangs, I only experience them with zpool vdevs on USB devices on my laptop when I forget to zpool export tp

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

2016-01-19 Thread Shawn Webb
On Tue, Jan 19, 2016 at 10:20:38AM -0700, Alan Somers wrote: > On Tue, Jan 19, 2016 at 10:08 AM, Kurt Lidl wrote: > > Removing the ability to run different zpools on top of a zvol is > > a significant reduction in functionality of the entire system, and a huge > > violation of the POLA. > > The t

Re: svn commit: r294267 - head/sys/arm64/conf

2016-01-19 Thread Slawa Olhovchenkov
On Mon, Jan 18, 2016 at 02:21:07PM +, Andrew Turner wrote: > On Mon, 18 Jan 2016 14:11:34 + (UTC) > Zbigniew Bodek wrote: > > > Author: zbb > > Date: Mon Jan 18 14:11:34 2016 > > New Revision: 294267 > > URL: https://svnweb.freebsd.org/changeset/base/294267 > > > > Log: > > Enable AIO

Re: svn commit: r291941 - in head: lib/libpam/modules/pam_ssh secure/lib/libssh secure/libexec/sftp-server secure/libexec/ssh-keysign secure/libexec/ssh-pkcs11-helper secure/usr.bin/scp secure/usr.bin

2016-01-19 Thread Bryan Drewery
On 1/19/2016 8:13 AM, Bryan Drewery wrote: > On 1/19/2016 5:56 AM, Dag-Erling Smørgrav wrote: >> Bryan Drewery writes: >>> Log: >>> Replace unneeded manual dependency on header by adding it to SRCS. >>> >>> bsd.lib.mk and bsd.prog.mk already depend all objs on headers in SRCS if >>> there

svn commit: r294331 - head/gnu/lib/libgcc

2016-01-19 Thread Ed Maste
Author: emaste Date: Tue Jan 19 17:40:29 2016 New Revision: 294331 URL: https://svnweb.freebsd.org/changeset/base/294331 Log: Remove local override for .cpp.o and .cpp.po rules The local build rule used to set -fvisibility=hidden and -fPIC, in addition to -fexceptions and -D defines that

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

2016-01-19 Thread Stefan Esser
Am 19.01.2016 um 18:08 schrieb Kurt Lidl: > Removing the ability to run different zpools on top of a zvol is > a significant reduction in functionality of the entire system, and a > huge violation of the POLA. > > At the very least, can you not add a sysctl that allows the > dangerous behavior (ev

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

2016-01-19 Thread Alan Somers
On Tue, Jan 19, 2016 at 10:08 AM, Kurt Lidl wrote: > Removing the ability to run different zpools on top of a zvol is > a significant reduction in functionality of the entire system, and a huge > violation of the POLA. The thing is, it never really worked in the first place. Panics and deadlocks

svn commit: r294330 - head/crypto/openssh

2016-01-19 Thread Dag-Erling Smørgrav
Author: des Date: Tue Jan 19 17:20:07 2016 New Revision: 294330 URL: https://svnweb.freebsd.org/changeset/base/294330 Log: Now that we have local modifications in configure.ac and configure, run autoheader and autoconf to avoid having to patch configure manually. Modified: head/crypto/opens

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

2016-01-19 Thread Kurt Lidl
Removing the ability to run different zpools on top of a zvol is a significant reduction in functionality of the entire system, and a huge violation of the POLA. At the very least, can you not add a sysctl that allows the dangerous behavior (even if it defaults to off)? Myself and certainly ot

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Ryan Stone
libkern's qsort() is a quicksort implementation. AFAICT it has the worst case behaviour that I describe. On Tue, Jan 19, 2016 at 11:54 AM, Hans Petter Selasky wrote: > On 01/19/16 17:09, Ryan Stone wrote: > >> On Tue, Jan 19, 2016 at 10:33 AM, Hans Petter Selasky < >> hsela...@freebsd.org> >> wr

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

2016-01-19 Thread Alan Somers
Author: asomers Date: Tue Jan 19 17:00:25 2016 New Revision: 294329 URL: https://svnweb.freebsd.org/changeset/base/294329 Log: Disallow zvol-backed ZFS pools Using zvols as backing devices for ZFS pools is fraught with panics and deadlocks. For example, attempting to online a missing devi

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Hans Petter Selasky
On 01/19/16 17:09, Ryan Stone wrote: On Tue, Jan 19, 2016 at 10:33 AM, Hans Petter Selasky wrote: + qsort(lc->lro_mbuf_data, lc->lro_mbuf_count, sizeof(struct mbuf *), + &tcp_lro_mbuf_compare_header); In the worst case, qsort() can take O(n**2) time and consume O(n) stack s

svn commit: r294328 - in head: crypto/openssh crypto/openssh/contrib/caldera crypto/openssh/contrib/cygwin crypto/openssh/contrib/redhat crypto/openssh/contrib/suse crypto/openssh/openbsd-compat cr...

2016-01-19 Thread Dag-Erling Smørgrav
Author: des Date: Tue Jan 19 16:18:26 2016 New Revision: 294328 URL: https://svnweb.freebsd.org/changeset/base/294328 Log: Upgrade to OpenSSH 6.7p1, retaining libwrap support (which has been removed upstream) and a number of security fixes which we had already backported. MFC after:1

Re: svn commit: r291941 - in head: lib/libpam/modules/pam_ssh secure/lib/libssh secure/libexec/sftp-server secure/libexec/ssh-keysign secure/libexec/ssh-pkcs11-helper secure/usr.bin/scp secure/usr.bin

2016-01-19 Thread Bryan Drewery
On 1/19/2016 5:56 AM, Dag-Erling Smørgrav wrote: > Bryan Drewery writes: >> Log: >> Replace unneeded manual dependency on header by adding it to SRCS. >> >> bsd.lib.mk and bsd.prog.mk already depend all objs on headers in SRCS if >> there is not yet a depend file. The headers in SRCS are

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Ryan Stone
On Tue, Jan 19, 2016 at 10:33 AM, Hans Petter Selasky wrote: > > + qsort(lc->lro_mbuf_data, lc->lro_mbuf_count, sizeof(struct mbuf *), > + &tcp_lro_mbuf_compare_header); > In the worst case, qsort() can take O(n**2) time and consume O(n) stack space. Is there a DOS concern here?

svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-01-19 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jan 19 15:33:28 2016 New Revision: 294327 URL: https://svnweb.freebsd.org/changeset/base/294327 Log: Add optimizing LRO wrapper: - Add optimizing LRO wrapper which pre-sorts all incoming packets according to the hash type and flowid. This prevents exhaustion o

  1   2   >