svn commit: r353379 - head/tests/sys/cddl/zfs/tests/cli_root/zpool_add

2019-10-09 Thread Alan Somers
Author: asomers Date: Thu Oct 10 02:17:45 2019 New Revision: 353379 URL: https://svnweb.freebsd.org/changeset/base/353379 Log: zfs: multiple improvements to the zpool_add tests * Don't partition a disk if too few are available. Just rely on Kyua to ensure that the tests aren't run

svn commit: r353378 - head/sys/modules/cxgbe/tom

2019-10-09 Thread John Baldwin
Author: jhb Date: Wed Oct 9 23:35:42 2019 New Revision: 353378 URL: https://svnweb.freebsd.org/changeset/base/353378 Log: Add opt_kern_tls.h to the sources from t4_tom.ko. Missed in r353328. Sponsored by: Chelsio Communications Modified: head/sys/modules/cxgbe/tom/Makefile

svn commit: r353374 - head/share/man/man4

2019-10-09 Thread John-Mark Gurney
Author: jmg Date: Wed Oct 9 21:48:00 2019 New Revision: 353374 URL: https://svnweb.freebsd.org/changeset/base/353374 Log: document how to apply altq to vlan interfaces w/ pf. Thanks to jhb for pointing out that this might possibly work. PR: 94182 Modified:

svn commit: r353372 - head

2019-10-09 Thread Warner Losh
== --- head/UPDATING Wed Oct 9 21:20:39 2019(r353371) +++ head/UPDATING Wed Oct 9 21:45:34 2019(r353372) @@ -27,6 +27,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 13.x IS SLOW: "ln -s 'abort:false,junk:false' /etc/malloc.conf".)

svn commit: r353373 - head/share/man/man7

2019-10-09 Thread Warner Losh
Author: imp Date: Wed Oct 9 21:45:40 2019 New Revision: 353373 URL: https://svnweb.freebsd.org/changeset/base/353373 Log: Add note about universe changes to arch and the need to add MAKE_OBSOLETE_GCC to get old behavior on universe. Modified: head/share/man/man7/arch.7 Modified:

svn commit: r353371 - head/sys/kern

2019-10-09 Thread John Baldwin
Author: jhb Date: Wed Oct 9 21:20:39 2019 New Revision: 353371 URL: https://svnweb.freebsd.org/changeset/base/353371 Log: Don't free the cursor boundary tag during vmem_destroy(). The cursor boundary tag is statically allocated in the vmem instead of from the vmem_bt_zone. Explicitly

svn commit: r353370 - head

2019-10-09 Thread Warner Losh
Author: imp Date: Wed Oct 9 21:18:46 2019 New Revision: 353370 URL: https://svnweb.freebsd.org/changeset/base/353370 Log: Wordsmith and simplify Simplify expressions as suggested by jhb. The extra indirection made sense in earlier versions of this patch, but not the final one.

svn commit: r353369 - head/sys/dev/cxgbe

2019-10-09 Thread John Baldwin
Author: jhb Date: Wed Oct 9 21:08:51 2019 New Revision: 353369 URL: https://svnweb.freebsd.org/changeset/base/353369 Log: Remove adapters from t4_list earlier during detach. This ensures the clip task won't race with t4_destroy_clip_table. While here, make some mutex destroys

svn commit: r353368 - head/sys/netinet

2019-10-09 Thread Warner Losh
Author: imp Date: Wed Oct 9 21:02:06 2019 New Revision: 353368 URL: https://svnweb.freebsd.org/changeset/base/353368 Log: Fix casting error from newer gcc Cast the pointers to (uintptr_t) before assigning to type uint64_t. This eliminates an error from gcc when we cast the pointer to

svn commit: r353367 - head

2019-10-09 Thread Warner Losh
Author: imp Date: Wed Oct 9 20:59:10 2019 New Revision: 353367 URL: https://svnweb.freebsd.org/changeset/base/353367 Log: Don't compile old gcc 4.2.1 archs by default in universe/tinderbox. Only compile clang supporting architectures of amd64, arm, arm64, i386, and riscv as part of

svn commit: r353366 - head/tests/sys/cddl/zfs/tests/cli_root/zpool_add

2019-10-09 Thread Alan Somers
Author: asomers Date: Wed Oct 9 20:16:40 2019 New Revision: 353366 URL: https://svnweb.freebsd.org/changeset/base/353366 Log: ZFS: fix the zpool_add_010_pos test The test is necessarily racy, because it depends on being able to complete a "zpool add" before a previous resilver finishes.

svn commit: r353365 - head/usr.bin/procstat

2019-10-09 Thread Jeremie Le Hen
Author: jlh Date: Wed Oct 9 20:05:14 2019 New Revision: 353365 URL: https://svnweb.freebsd.org/changeset/base/353365 Log: Add a missing macro for the previous commit (IS_INADDR_ANY()). Modified: head/usr.bin/procstat/procstat_files.c Modified: head/usr.bin/procstat/procstat_files.c

svn commit: r353364 - head/usr.bin/procstat

2019-10-09 Thread Jeremie Le Hen
Author: jlh Date: Wed Oct 9 20:01:23 2019 New Revision: 353364 URL: https://svnweb.freebsd.org/changeset/base/353364 Log: Use inet_ntop(3) instead of inet_ntoa(3) for AF_INET socket details. This also makes the code closer to the one used for AF_INET6. Modified:

svn commit: r353363 - head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD

2019-10-09 Thread Dimitry Andric
Author: dim Date: Wed Oct 9 19:51:41 2019 New Revision: 353363 URL: https://svnweb.freebsd.org/changeset/base/353363 Log: Put in a band-aid fix for lldb 9 exiting with "Expected must be checked before access or destruction" when launching executables, while we sort this out with upstream.

svn commit: r353362 - head/sys/sys

2019-10-09 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 9 18:46:56 2019 New Revision: 353362 URL: https://svnweb.freebsd.org/changeset/base/353362 Log: Fix the compilation workaround so it's not entirely dead code - clang also defines __GNUC__. Submitted by: cem Sponsored by: Klara Inc, Netflix Modified:

svn commit: r353361 - head/tests/sys/cddl/zfs/include

2019-10-09 Thread Alan Somers
Author: asomers Date: Wed Oct 9 17:36:57 2019 New Revision: 353361 URL: https://svnweb.freebsd.org/changeset/base/353361 Log: ZFS: in the tests, don't override PWD The ZFS test suite was overriding the common $PWD variable with the path to the pwd command, even though no test wanted to

svn commit: r353360 - head/tests/sys/cddl/zfs/tests/cli_root/zpool_import

2019-10-09 Thread Alan Somers
Author: asomers Date: Wed Oct 9 17:24:09 2019 New Revision: 353360 URL: https://svnweb.freebsd.org/changeset/base/353360 Log: ZFS: multiple fixes to the zpool_import tests * Don't create a UFS mountpoint just to store some temporary files. The tests should always be executed with a

svn commit: r353359 - head/sys/netinet

2019-10-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 9 17:08:40 2019 New Revision: 353359 URL: https://svnweb.freebsd.org/changeset/base/353359 Log: Factor out TCP rateset destruction code. Ensure the epoch_call() function is not called more than one time before the callback has been executed, by always

svn commit: r353357 - head/sys/netinet

2019-10-09 Thread Gleb Smirnoff
Author: glebius Date: Wed Oct 9 17:03:20 2019 New Revision: 353357 URL: https://svnweb.freebsd.org/changeset/base/353357 Log: Revert most of the multicast changes from r353292. This needs a more accurate approach. Modified: head/sys/netinet/in_mcast.c head/sys/netinet/ip_output.c

svn commit: r353356 - head/sys/netinet6

2019-10-09 Thread Gleb Smirnoff
Author: glebius Date: Wed Oct 9 17:02:28 2019 New Revision: 353356 URL: https://svnweb.freebsd.org/changeset/base/353356 Log: ip6_output() has a complex set of gotos, and some can jump out of the epoch section towards return statement. Since entering epoch is cheap, it is easier to cover

svn commit: r353355 - head/sys/kern

2019-10-09 Thread Gleb Smirnoff
Author: glebius Date: Wed Oct 9 16:59:42 2019 New Revision: 353355 URL: https://svnweb.freebsd.org/changeset/base/353355 Log: Cleanup unneeded includes that crept in with r353292. Modified: head/sys/kern/uipc_socket.c Modified: head/sys/kern/uipc_socket.c

svn commit: r353354 - head/sys/dev/mmc/host

2019-10-09 Thread Emmanuel Vadot
Author: manu Date: Wed Oct 9 16:57:14 2019 New Revision: 353354 URL: https://svnweb.freebsd.org/changeset/base/353354 Log: dwmmc: Reset the dma controller at attach If the bootloader enabled DMA we need to fully reset the DMA controller otherwise we might have some stale data in it that

svn commit: r353353 - head/sys/netinet

2019-10-09 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 9 16:48:48 2019 New Revision: 353353 URL: https://svnweb.freebsd.org/changeset/base/353353 Log: Fix locking order reversal in the TCP ratelimit code by moving destructors outside the rsmtx mutex. Witness message: lock order reversal: (sleepable after

svn commit: r353350 - head/sys/net

2019-10-09 Thread Gleb Smirnoff
Author: glebius Date: Wed Oct 9 16:21:50 2019 New Revision: 353350 URL: https://svnweb.freebsd.org/changeset/base/353350 Log: ifnet_byindex_ref() requires network epoch. Modified: head/sys/net/if_mib.c Modified: head/sys/net/if_mib.c

svn commit: r353349 - head/sys/kern

2019-10-09 Thread Gleb Smirnoff
Author: glebius Date: Wed Oct 9 16:21:05 2019 New Revision: 353349 URL: https://svnweb.freebsd.org/changeset/base/353349 Log: Enter network epoch in domain callouts. Modified: head/sys/kern/uipc_domain.c Modified: head/sys/kern/uipc_domain.c

svn commit: r353348 - head/lib/libucl

2019-10-09 Thread Glen Barber
Author: gjb Date: Wed Oct 9 15:35:22 2019 New Revision: 353348 URL: https://svnweb.freebsd.org/changeset/base/353348 Log: Connect the libucl(3) manual page to the build. MFC after:3 days Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/lib/libucl/Makefile

svn commit: r353344 - head/sys/dev/ioat

2019-10-09 Thread Eric van Gyzen
Author: vangyzen Date: Wed Oct 9 12:14:10 2019 New Revision: 353344 URL: https://svnweb.freebsd.org/changeset/base/353344 Log: Add CTLFLAG_STATS to the dev.ioat.N.stats sysctl OIDs Refer to r353111. MFC after:2 weeks Sponsored by: Dell EMC Isilon Modified:

svn commit: r353343 - head/cddl/contrib/opensolaris/lib/libzfs/common

2019-10-09 Thread Andriy Gapon
Author: avg Date: Wed Oct 9 11:57:45 2019 New Revision: 353343 URL: https://svnweb.freebsd.org/changeset/base/353343 Log: zfs: remove gratuitous divergence from other openzfs flavours The divergence is a result of a local change in r344601 and a followup fix in r352580 that reverted

svn commit: r353342 - head/cddl/contrib/opensolaris/cmd/zpool

2019-10-09 Thread Andriy Gapon
Author: avg Date: Wed Oct 9 11:46:36 2019 New Revision: 353342 URL: https://svnweb.freebsd.org/changeset/base/353342 Log: zfs: remove incorrect warning about boot support for large_dnode Fixes r353341 Reported by: tsoome MFC after:4 days X-MFC with: r353341 Modified:

Re: svn commit: r353341 - head/cddl/contrib/opensolaris/cmd/zpool

2019-10-09 Thread Andriy Gapon
On 09/10/2019 14:40, Toomas Soome wrote: > > >> On 9. Oct 2019, at 14:34, Andriy Gapon > > wrote: >> >> Author: avg >> Date: Wed Oct  9 11:34:16 2019 >> New Revision: 353341 >> URL: https://svnweb.freebsd.org/changeset/base/353341 >> >> Log: >>  zfs: document large_dnode

Re: svn commit: r353341 - head/cddl/contrib/opensolaris/cmd/zpool

2019-10-09 Thread Toomas Soome via svn-src-head
> On 9. Oct 2019, at 14:34, Andriy Gapon wrote: > > Author: avg > Date: Wed Oct 9 11:34:16 2019 > New Revision: 353341 > URL: https://svnweb.freebsd.org/changeset/base/353341 > > Log: > zfs: document large_dnode feature > > The text is copied from illumos. > The conversion to mdoc is

svn commit: r353341 - head/cddl/contrib/opensolaris/cmd/zpool

2019-10-09 Thread Andriy Gapon
Author: avg Date: Wed Oct 9 11:34:16 2019 New Revision: 353341 URL: https://svnweb.freebsd.org/changeset/base/353341 Log: zfs: document large_dnode feature The text is copied from illumos. The conversion to mdoc is mine. The FreeBSD boot warning is copied from large_block description.

svn commit: r353340 - in head/sys/cddl: compat/opensolaris/kern compat/opensolaris/sys contrib/opensolaris/common/atomic/aarch64 contrib/opensolaris/common/atomic/amd64 contrib/opensolaris/common/a...

2019-10-09 Thread Andriy Gapon
Author: avg Date: Wed Oct 9 11:26:36 2019 New Revision: 353340 URL: https://svnweb.freebsd.org/changeset/base/353340 Log: cleanup of illumos compatibility atomics atomic_cas_32 is implemented using atomic_fcmpset_32 on all platforms. Ditto for atomic_cas_64 and atomic_fcmpset_64 on

Re: svn commit: r353305 - head/tests/sys/kern

2019-10-09 Thread Konstantin Belousov
On Tue, Oct 08, 2019 at 11:22:48PM -0700, Enji Cooper (yaneurabeya) wrote: > > > On Oct 8, 2019, at 08:04, Konstantin Belousov wrote: > > > > On Tue, Oct 08, 2019 at 01:43:05PM +, Eric van Gyzen wrote: > >> Author: vangyzen > >> Date: Tue Oct 8 13:43:05 2019 > >> New Revision: 353305 > >>

Re: svn commit: r353305 - head/tests/sys/kern

2019-10-09 Thread Enji Cooper (yaneurabeya)
> On Oct 8, 2019, at 08:04, Konstantin Belousov wrote: > > On Tue, Oct 08, 2019 at 01:43:05PM +, Eric van Gyzen wrote: >> Author: vangyzen >> Date: Tue Oct 8 13:43:05 2019 >> New Revision: 353305 >> URL: https://svnweb.freebsd.org/changeset/base/353305 >> >> Log: >> Fix problems in the