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

2020-03-03 Thread Alexander Motin
Author: mav Date: Wed Mar 4 04:44:33 2020 New Revision: 358608 URL: https://svnweb.freebsd.org/changeset/base/358608 Log: MFC r358357: MFZoL: Relax restriction on zfs_ioc_next_obj() iteration Per the documentation for dnode_next_offset in dnode.c, the "txg" parameter specifies a lower

svn commit: r358607 - stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2020-03-03 Thread Alexander Motin
Author: mav Date: Wed Mar 4 04:44:08 2020 New Revision: 358607 URL: https://svnweb.freebsd.org/changeset/base/358607 Log: MFC r358357: MFZoL: Relax restriction on zfs_ioc_next_obj() iteration Per the documentation for dnode_next_offset in dnode.c, the "txg" parameter specifies a lower

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

2020-03-03 Thread Alexander Motin
Author: mav Date: Wed Mar 4 04:43:23 2020 New Revision: 358606 URL: https://svnweb.freebsd.org/changeset/base/358606 Log: MFC r358342: MFZoL: Fix resilver writes in vdev_indirect_io_start This patch addresses an issue found in ztest where resilver write zios that were passed to an

svn commit: r358605 - stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2020-03-03 Thread Alexander Motin
Author: mav Date: Wed Mar 4 04:42:56 2020 New Revision: 358605 URL: https://svnweb.freebsd.org/changeset/base/358605 Log: MFC r358342: MFZoL: Fix resilver writes in vdev_indirect_io_start This patch addresses an issue found in ztest where resilver write zios that were passed to an

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

2020-03-03 Thread Alexander Motin
Author: mav Date: Wed Mar 4 04:42:09 2020 New Revision: 358604 URL: https://svnweb.freebsd.org/changeset/base/358604 Log: MFC r358339: MFZoL: Fix issue with scanning dedup blocks as scan ends This patch fixes an issue discovered by ztest where dsl_scan_ddt_entry() could add I/Os to the

svn commit: r358603 - stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2020-03-03 Thread Alexander Motin
Author: mav Date: Wed Mar 4 04:41:49 2020 New Revision: 358603 URL: https://svnweb.freebsd.org/changeset/base/358603 Log: MFC r358339: MFZoL: Fix issue with scanning dedup blocks as scan ends This patch fixes an issue discovered by ztest where dsl_scan_ddt_entry() could add I/Os to the

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

2020-03-03 Thread Alexander Motin
Author: mav Date: Wed Mar 4 04:40:54 2020 New Revision: 358602 URL: https://svnweb.freebsd.org/changeset/base/358602 Log: MFC r358337: MFZoL: Fix 2 small bugs with cached dsl_scan_phys_t This patch corrects 2 small bugs where scn->scn_phys_cached was not properly updated to match the

svn commit: r358601 - stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2020-03-03 Thread Alexander Motin
Author: mav Date: Wed Mar 4 04:40:35 2020 New Revision: 358601 URL: https://svnweb.freebsd.org/changeset/base/358601 Log: MFC r358337: MFZoL: Fix 2 small bugs with cached dsl_scan_phys_t This patch corrects 2 small bugs where scn->scn_phys_cached was not properly updated to match the

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

2020-03-03 Thread Alexander Motin
Author: mav Date: Wed Mar 4 04:39:34 2020 New Revision: 358600 URL: https://svnweb.freebsd.org/changeset/base/358600 Log: MFC r358336, r358340: MFZoL: Fix txg_sync_thread hang in scan_exec_io() When scn->scn_maxinflight_bytes has not been initialized it's possible to hang on the

svn commit: r358599 - stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2020-03-03 Thread Alexander Motin
Author: mav Date: Wed Mar 4 04:38:30 2020 New Revision: 358599 URL: https://svnweb.freebsd.org/changeset/base/358599 Log: MFC r358340: Fix patch mismerge in r358336. Modified: stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_scan.c Directory Properties: stable/12/ (props

svn commit: r358598 - stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2020-03-03 Thread Alexander Motin
Author: mav Date: Wed Mar 4 04:36:50 2020 New Revision: 358598 URL: https://svnweb.freebsd.org/changeset/base/358598 Log: MFC r358336: MFZoL: Fix txg_sync_thread hang in scan_exec_io() When scn->scn_maxinflight_bytes has not been initialized it's possible to hang on the condition

Re: svn commit: r358486 - head/sys/dev/bce

2020-03-03 Thread Warner Losh
On Mon, Mar 2, 2020 at 3:06 PM John Baldwin wrote: > On 3/1/20 9:27 AM, Warner Losh wrote: > > Author: imp > > Date: Sun Mar 1 17:27:30 2020 > > New Revision: 358486 > > URL: https://svnweb.freebsd.org/changeset/base/358486 > > > > Log: > > Remove all the compatibility hacks for systems that

svn commit: r358597 - head/sys/kern

2020-03-03 Thread Chuck Silvers
Author: chs Date: Wed Mar 4 00:22:50 2020 New Revision: 358597 URL: https://svnweb.freebsd.org/changeset/base/358597 Log: if vm_pager_get_pages_async() returns an error, release the sfio->nios refcount that we took earlier that represents the I/O that ended up not being started.

svn commit: r358596 - head/sys/sys

2020-03-03 Thread Conrad Meyer
Author: cem Date: Tue Mar 3 23:15:30 2020 New Revision: 358596 URL: https://svnweb.freebsd.org/changeset/base/358596 Log: sys/signalvar.h: Fix opposite boolean sense in comment Correct the sense of the comment describing sigsetmasked() to match the code. It was exactly backwards.

svn commit: r358595 - head/sys/dev/ismt

2020-03-03 Thread Justin Hibbits
Author: jhibbits Date: Tue Mar 3 22:23:56 2020 New Revision: 358595 URL: https://svnweb.freebsd.org/changeset/base/358595 Log: Add Atom C3000 (Denverton) SMT PCI ID MFC after:3 days Sponsored by: Juniper Networks, Inc Modified: head/sys/dev/ismt/ismt.c Modified:

svn commit: r358594 - head/sbin/dumpon

2020-03-03 Thread Eric van Gyzen
Author: vangyzen Date: Tue Mar 3 22:14:23 2020 New Revision: 358594 URL: https://svnweb.freebsd.org/changeset/base/358594 Log: dumpon: skip size check if using zstd As with gzip, let the dump device be smaller than physical memory when using zstd and full dumps. Also print the

svn commit: r358593 - head/sys/dev/mxge

2020-03-03 Thread Brooks Davis
Author: brooks Date: Tue Mar 3 18:58:43 2020 New Revision: 358593 URL: https://svnweb.freebsd.org/changeset/base/358593 Log: Use ifr_data_get_ptr() consistently. Modified: head/sys/dev/mxge/if_mxge.c Modified: head/sys/dev/mxge/if_mxge.c

svn commit: r358592 - head/sys/net

2020-03-03 Thread Brooks Davis
Author: brooks Date: Tue Mar 3 18:05:11 2020 New Revision: 358592 URL: https://svnweb.freebsd.org/changeset/base/358592 Log: Expose ifr_buffer_get_(buffer|length) outside if.c. This is a preparatory commit for D23933. Reviewed by: jhb Modified: head/sys/net/if.c

svn commit: r358591 - in stable: 11/sys/arm/arm 12/sys/arm/arm

2020-03-03 Thread Dimitry Andric
Author: dim Date: Tue Mar 3 18:01:03 2020 New Revision: 358591 URL: https://svnweb.freebsd.org/changeset/base/358591 Log: MFC r358407: Merge r358406 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0: sys/arm/arm/identcpu-v6.c:227:5: error:

svn commit: r358591 - in stable: 11/sys/arm/arm 12/sys/arm/arm

2020-03-03 Thread Dimitry Andric
Author: dim Date: Tue Mar 3 18:01:03 2020 New Revision: 358591 URL: https://svnweb.freebsd.org/changeset/base/358591 Log: MFC r358407: Merge r358406 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0: sys/arm/arm/identcpu-v6.c:227:5: error:

svn commit: r358590 - head/sys/cam

2020-03-03 Thread Warner Losh
Author: imp Date: Tue Mar 3 17:40:29 2020 New Revision: 358590 URL: https://svnweb.freebsd.org/changeset/base/358590 Log: Get rid of silly /* FALLTHROUGH */ lines Consistently omit /* FALLTHROUGH */ when we have a case statement that does nothing. Since compilers don't warn about

svn commit: r358589 - head/tests/sys/net

2020-03-03 Thread Olivier Cochard
Author: olivier (ports committer) Date: Tue Mar 3 17:35:15 2020 New Revision: 358589 URL: https://svnweb.freebsd.org/changeset/base/358589 Log: Skip if_epair regression test if module doesn't exist Approved by: kp Sponsored by: Netflix Differential Revision:

svn commit: r358588 - stable/12/lib/libc/sys

2020-03-03 Thread Ed Maste
Author: emaste Date: Tue Mar 3 17:30:13 2020 New Revision: 358588 URL: https://svnweb.freebsd.org/changeset/base/358588 Log: MFC r358344: mprotect.2: sort errors alphabetically Modified: stable/12/lib/libc/sys/mprotect.2 Directory Properties: stable/12/ (props changed) Modified:

svn commit: r358587 - stable/12/contrib/elftoolchain/addr2line

2020-03-03 Thread Ed Maste
Author: emaste Date: Tue Mar 3 16:25:28 2020 New Revision: 358587 URL: https://svnweb.freebsd.org/changeset/base/358587 Log: MFC r357844: addr2line: Handle DW_AT_ranges in compile units Based on original submission by Marat Radchenko in ELF Tool Chain ticket #545, rebased and updated by

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

2020-03-03 Thread Hans Petter Selasky
Author: hselasky Date: Tue Mar 3 15:49:34 2020 New Revision: 358586 URL: https://svnweb.freebsd.org/changeset/base/358586 Log: When closing a LinuxKPI file always use the real release function to avoid resource leakage when destroying a LinuxKPI character device. Submitted by: Andrew

svn commit: r358585 - in head: sys/net tests/sys/netinet tests/sys/netinet6

2020-03-03 Thread Alexander V. Chernikov
Author: melifaro Date: Tue Mar 3 15:33:43 2020 New Revision: 358585 URL: https://svnweb.freebsd.org/changeset/base/358585 Log: Fix dynamic redrects by adding forgotten RTF_HOST flag. Improve tests to verify the generated route flags. Reported by: jtl MFC after:2 weeks Modified:

svn commit: r358584 - in head/sys/arm64: arm64 include

2020-03-03 Thread Andrew Turner
Author: andrew Date: Tue Mar 3 15:31:40 2020 New Revision: 358584 URL: https://svnweb.freebsd.org/changeset/base/358584 Log: Fix the spelling of aliasing. Sponsored by: Innovate UK Modified: head/sys/arm64/arm64/identcpu.c head/sys/arm64/include/cpufunc.h Modified:

svn commit: r358583 - in head/sys/arm64: arm64 include

2020-03-03 Thread Andrew Turner
Author: andrew Date: Tue Mar 3 15:25:01 2020 New Revision: 358583 URL: https://svnweb.freebsd.org/changeset/base/358583 Log: Move the arm64 cache identification to identcpu.c This allows us to call it on a per-CPU basis and to warn if the details are different across CPUs. While

svn commit: r358582 - in stable/11/sys: amd64/amd64 dev/cpuctl x86/acpica x86/include x86/x86

2020-03-03 Thread Konstantin Belousov
Author: kib Date: Tue Mar 3 15:12:00 2020 New Revision: 358582 URL: https://svnweb.freebsd.org/changeset/base/358582 Log: MFC r358315: Fix IBRS for machines with IBRS_ALL capability. Modified: stable/11/sys/amd64/amd64/initcpu.c stable/11/sys/amd64/amd64/support.S

svn commit: r358581 - in stable/12: lib/libkvm sys/vm

2020-03-03 Thread Mark Johnston
Author: markj Date: Tue Mar 3 15:07:48 2020 New Revision: 358581 URL: https://svnweb.freebsd.org/changeset/base/358581 Log: MFC r358026: Remove swblk_t. Modified: stable/12/lib/libkvm/kvm_getswapinfo.c stable/12/sys/vm/swap_pager.c stable/12/sys/vm/swap_pager.h Directory Properties:

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

2020-03-03 Thread Alexander Motin
Author: mav Date: Tue Mar 3 15:05:13 2020 New Revision: 358580 URL: https://svnweb.freebsd.org/changeset/base/358580 Log: Increase number of write completion threads, matching ZoL. Our iSCSI benchmarks on a large 80-core system show that previous limit of 8 threads can be a bottleneck.

svn commit: r358579 - in stable/12/sys: amd64/amd64 dev/cpuctl i386/i386 x86/acpica x86/include x86/x86

2020-03-03 Thread Konstantin Belousov
Author: kib Date: Tue Mar 3 15:02:07 2020 New Revision: 358579 URL: https://svnweb.freebsd.org/changeset/base/358579 Log: MFC r358315: Fix IBRS for machines with IBRS_ALL capability. Modified: stable/12/sys/amd64/amd64/initcpu.c stable/12/sys/amd64/amd64/support.S

svn commit: r358578 - stable/12/sys/fs/ext2fs

2020-03-03 Thread Fedor Uporov
Author: fsu Date: Tue Mar 3 14:58:53 2020 New Revision: 358578 URL: https://svnweb.freebsd.org/changeset/base/358578 Log: MFC r358073: Add a EXT2FS-specific implementation for lseek(SEEK_DATA). Reviewed by:pfg MFC after: 1 week Differential Revision:

svn commit: r358577 - head/sys/netinet

2020-03-03 Thread Bjoern A. Zeeb
Author: bz Date: Tue Mar 3 14:15:30 2020 New Revision: 358577 URL: https://svnweb.freebsd.org/changeset/base/358577 Log: tcp_hpts: make RSS kernel compile again. Add proper #includes, and #ifdefs and some style fixes to make RSS kernels compile again. There are still possible issues

svn commit: r358576 - head/sys/kern

2020-03-03 Thread Bjoern A. Zeeb
Author: bz Date: Tue Mar 3 14:07:44 2020 New Revision: 358576 URL: https://svnweb.freebsd.org/changeset/base/358576 Log: upic_ktrls: make RSS compile again here The results of ktls_get_cpu() are stored in u_int and NETISR_CPUID_NONE requires u_int. Adjust uint16_t to uint_t in order to

svn commit: r358575 - head/sys/netinet6

2020-03-03 Thread Bjoern A. Zeeb
Author: bz Date: Tue Mar 3 13:48:12 2020 New Revision: 358575 URL: https://svnweb.freebsd.org/changeset/base/358575 Log: ip6: retire in6_selectroute_fib() as promised 8 years ago In r231852 I added in6_selectroute_fib() as a compat function with the fibnum as an extra argument compared

svn commit: r358574 - head/usr.sbin/powerd

2020-03-03 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Tue Mar 3 13:25:08 2020 New Revision: 358574 URL: https://svnweb.freebsd.org/changeset/base/358574 Log: powerd.8: Improve style & fix typos - Sort options. - Do not use macros (like .Ar) to specify width for Bl (macros within that string are

svn commit: r358573 - in head/sys/arm64: arm64 include

2020-03-03 Thread Andrew Turner
Author: andrew Date: Tue Mar 3 12:50:45 2020 New Revision: 358573 URL: https://svnweb.freebsd.org/changeset/base/358573 Log: Fix the spelling of the VIPT cache type field Sponsored by: Innovate UK Modified: head/sys/arm64/arm64/identcpu.c head/sys/arm64/include/armreg.h Modified:

svn commit: r358572 - head/sys/netinet6

2020-03-03 Thread Bjoern A. Zeeb
Author: bz Date: Tue Mar 3 11:32:47 2020 New Revision: 358572 URL: https://svnweb.freebsd.org/changeset/base/358572 Log: ip6_output: use new routing KPI when not passed a cached route Implement the equivalent of r347375 (IPv4) for the IPv6 output path. In IPv6 we get passed a cached

svn commit: r358570 - head/lib/libc/sys

2020-03-03 Thread Mateusz Piotrowski
Author: 0mp (doc,ports committer) Date: Tue Mar 3 09:51:53 2020 New Revision: 358570 URL: https://svnweb.freebsd.org/changeset/base/358570 Log: thr_self.2: Fix some typos in the thread identifier range Reported by: kaktus Approved by: bcr (mentor) Differential Revision:

svn commit: r358569 - head/sys/netinet6

2020-03-03 Thread Bjoern A. Zeeb
Author: bz Date: Tue Mar 3 09:50:33 2020 New Revision: 358569 URL: https://svnweb.freebsd.org/changeset/base/358569 Log: in6_fib: return nh_ia in the ext interface as we do for IPv4 Like for IPv4 add nh_ia to the ext interface and return rt_ifa in order to be used for, e.g.,

svn commit: r358568 - head/sys/netinet6

2020-03-03 Thread Bjoern A. Zeeb
Author: bz Date: Tue Mar 3 09:45:16 2020 New Revision: 358568 URL: https://svnweb.freebsd.org/changeset/base/358568 Log: fib6_rte_to_nh_*: return a link-local gw address with scope embedded In fib6_rte_to_nh_* when returning a link-local gateway address currently we do clear the scope.

svn commit: r358567 - in head/sys/arm64: arm64 include

2020-03-03 Thread Andrew Turner
Author: andrew Date: Tue Mar 3 08:28:16 2020 New Revision: 358567 URL: https://svnweb.freebsd.org/changeset/base/358567 Log: Store the boot exception level on arm64 so it can be queried later A hypervisor, e.g. bhyve, will need to know what exception levelthe kernel was in when it

svn commit: r358566 - stable/11/sys/netinet6

2020-03-03 Thread Bjoern A. Zeeb
Author: bz Date: Tue Mar 3 08:24:09 2020 New Revision: 358566 URL: https://svnweb.freebsd.org/changeset/base/358566 Log: MFC r358297: Fix IPv6 checksums when exthdrs are present. In two places in ip6_output we are doing (delayed) checksum calculations. The initial logic came