svn commit: r366598 - head/sys/contrib/openzfs/module/os/freebsd/zfs

2020-10-09 Thread Mateusz Guzik
Author: mjg Date: Sat Oct 10 04:18:49 2020 New Revision: 366598 URL: https://svnweb.freebsd.org/changeset/base/366598 Log: zfs: use cache_rename Modified: head/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops.c Modified: head/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vnops.c

svn commit: r366597 - in head/sys: kern sys

2020-10-09 Thread Mateusz Guzik
Author: mjg Date: Sat Oct 10 03:48:17 2020 New Revision: 366597 URL: https://svnweb.freebsd.org/changeset/base/366597 Log: vfs: support lockless dirfd lookups Modified: head/sys/kern/kern_descrip.c head/sys/kern/vfs_cache.c head/sys/sys/file.h Modified: head/sys/kern/kern_descrip.c

svn commit: r366596 - head/sys/modules/crypto

2020-10-09 Thread Ed Maste
Author: emaste Date: Sat Oct 10 01:13:14 2020 New Revision: 366596 URL: https://svnweb.freebsd.org/changeset/base/366596 Log: modules/crypto: reenable assembly optimized skein implementation r366344 corrected the optimized amd64 skein assembly implementation, so we can now enable it

svn commit: r366595 - head/usr.sbin/mountd

2020-10-09 Thread Rick Macklem
Author: rmacklem Date: Sat Oct 10 00:01:40 2020 New Revision: 366595 URL: https://svnweb.freebsd.org/changeset/base/366595 Log: Modify mountd.c so that it does not always malloc 4K for the map credentials. r362163 upgraded mountd so that it could handle MAX_NGROUPS groups for the

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

2020-10-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Oct 9 23:49:42 2020 New Revision: 366594 URL: https://svnweb.freebsd.org/changeset/base/366594 Log: Use unlocked page lookup for inmem() to avoid object lock contention Reviewed By: kib, markj Submitted by: mlaier Sponsored by: Dell EMC Differential

svn commit: r366593 - stable/12/stand/libsa/zfs

2020-10-09 Thread Allan Jude
Author: allanjude Date: Fri Oct 9 23:02:09 2020 New Revision: 366593 URL: https://svnweb.freebsd.org/changeset/base/366593 Log: MFC r364787: ZFS: whitelist zstd and encryption in the loader Please note that neither zstd nor encryption is supported by the loader at this instant.

svn commit: r366592 - in stable/12: stand/efi/loader stand/libsa/zfs usr.bin/netstat

2020-10-09 Thread Allan Jude
Author: allanjude Date: Fri Oct 9 22:59:27 2020 New Revision: 366592 URL: https://svnweb.freebsd.org/changeset/base/366592 Log: Clean up the mess I made with r366590 and r366591 Modified: stable/12/stand/efi/loader/main.c stable/12/stand/libsa/zfs/zfsimpl.c

svn commit: r366591 - stable/12/stand/efi/loader

2020-10-09 Thread Allan Jude
Author: allanjude Date: Fri Oct 9 22:50:16 2020 New Revision: 366591 URL: https://svnweb.freebsd.org/changeset/base/366591 Log: Revert r366590 that contains garbage Modified: stable/12/stand/efi/loader/main.c Directory Properties: stable/12/ (props changed) Modified:

svn commit: r366590 - in stable/12: stand/libsa/zfs usr.bin/netstat

2020-10-09 Thread Allan Jude
Author: allanjude Date: Fri Oct 9 22:42:04 2020 New Revision: 366590 URL: https://svnweb.freebsd.org/changeset/base/366590 Log: MFC r364787: ZFS: whitelist zstd and encryption in the loader Please note that neither zstd nor encryption is supported by the loader at this instant.

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

2020-10-09 Thread Navdeep Parhar
Author: np Date: Fri Oct 9 22:23:39 2020 New Revision: 366589 URL: https://svnweb.freebsd.org/changeset/base/366589 Log: cxgbe(4): More fixes for the T6 FCS error counter. r365732 was the first attempt to get an accurate count but it was writing to some read-only registers to clear them

svn commit: r366588 - stable/12/stand/efi/loader

2020-10-09 Thread Warner Losh
Author: imp Date: Fri Oct 9 21:01:53 2020 New Revision: 366588 URL: https://svnweb.freebsd.org/changeset/base/366588 Log: MFC: r366216 imp Fix video on PCI heuristic The video on PCI heuristic was broken. It was supposed to infer a video device when the last element of the path was

svn commit: r366587 - head/sys/kern

2020-10-09 Thread Mateusz Guzik
Author: mjg Date: Fri Oct 9 20:31:42 2020 New Revision: 366587 URL: https://svnweb.freebsd.org/changeset/base/366587 Log: vfs: fix a panic when truncating comming from copy_file_range Truncating requires an exclusive lock, but it was not taken if the filesystem indicates support for

svn commit: r366584 - head/sys/kern

2020-10-09 Thread John Baldwin
Author: jhb Date: Fri Oct 9 20:20:42 2020 New Revision: 366584 URL: https://svnweb.freebsd.org/changeset/base/366584 Log: Don't invoke semunload() if seminit() fails during MOD_LOAD. The module handler code invokes a MOD_UNLOAD event immediately if MOD_LOAD fails. The result was that

Re: svn commit: r366578 - head/sbin/devd

2020-10-09 Thread Warner Losh
On Fri, Oct 9, 2020 at 12:47 PM Warner Losh wrote: > > > On Fri, Oct 9, 2020, 12:20 PM Renato Botelho wrote: > >> On 09/10/20 15:16, Renato Botelho wrote: >> > On 09/10/20 13:57, Warner Losh wrote: >> >> >> >> >> >> On Fri, Oct 9, 2020 at 10:19 AM Renato Botelho > >> >

svn commit: r366583 - in head: lib/libc/capability lib/libc/sys lib/libgssapi lib/libmd lib/libmt lib/libpathconv lib/libpmc lib/libradius lib/librpcsec_gss lib/libsysdecode lib/libusb lib/libutil ...

2020-10-09 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Oct 9 19:12:44 2020 New Revision: 366583 URL: https://svnweb.freebsd.org/changeset/base/366583 Log: Fix a few mandoc issues - skipping paragraph macro: Pp after Sh - sections out of conventional order: Sh EXAMPLES - whitespace at end of input line

svn commit: r366582 - in head/sys: fs/deadfs kern

2020-10-09 Thread Mateusz Guzik
Author: mjg Date: Fri Oct 9 19:10:00 2020 New Revision: 366582 URL: https://svnweb.freebsd.org/changeset/base/366582 Log: cache: fix vexec panic when racing against vgone Use of dead_vnodeops would result in a panic instead of returning the intended EOPNOTSUPP error. While here

Re: svn commit: r366578 - head/sbin/devd

2020-10-09 Thread Warner Losh
On Fri, Oct 9, 2020, 12:20 PM Renato Botelho wrote: > On 09/10/20 15:16, Renato Botelho wrote: > > On 09/10/20 13:57, Warner Losh wrote: > >> > >> > >> On Fri, Oct 9, 2020 at 10:19 AM Renato Botelho >> > wrote: > >> > >> On 09/10/20 12:29, Warner Losh wrote: > >>

svn commit: r366581 - in stable/12/usr.sbin/makefs: . cd9660

2020-10-09 Thread Ed Maste
Author: emaste Date: Fri Oct 9 18:30:49 2020 New Revision: 366581 URL: https://svnweb.freebsd.org/changeset/base/366581 Log: MFC r365847: makefs: connect cd9660 El Torito EFI boot image system type Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r366578 - head/sbin/devd

2020-10-09 Thread Renato Botelho
On 09/10/20 15:16, Renato Botelho wrote: On 09/10/20 13:57, Warner Losh wrote: On Fri, Oct 9, 2020 at 10:19 AM Renato Botelho > wrote:     On 09/10/20 12:29, Warner Losh wrote: > Author: imp > Date: Fri Oct  9 15:29:05 2020 > New Revision: 366578

Re: svn commit: r366578 - head/sbin/devd

2020-10-09 Thread Renato Botelho
On 09/10/20 13:57, Warner Losh wrote: On Fri, Oct 9, 2020 at 10:19 AM Renato Botelho > wrote: On 09/10/20 12:29, Warner Losh wrote: > Author: imp > Date: Fri Oct  9 15:29:05 2020 > New Revision: 366578 > URL:

Re: svn commit: r366578 - head/sbin/devd

2020-10-09 Thread Warner Losh
On Fri, Oct 9, 2020 at 10:19 AM Renato Botelho wrote: > On 09/10/20 12:29, Warner Losh wrote: > > Author: imp > > Date: Fri Oct 9 15:29:05 2020 > > New Revision: 366578 > > URL: https://svnweb.freebsd.org/changeset/base/366578 > > > > Log: > >Avoid using single quotes in arguments to

Re: svn commit: r366578 - head/sbin/devd

2020-10-09 Thread Renato Botelho
On 09/10/20 12:29, Warner Losh wrote: Author: imp Date: Fri Oct 9 15:29:05 2020 New Revision: 366578 URL: https://svnweb.freebsd.org/changeset/base/366578 Log: Avoid using single quotes in arguments to logger. Single quotes interfere with the workaround put in with r335753 and

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

2020-10-09 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Oct 9 15:50:50 2020 New Revision: 366580 URL: https://svnweb.freebsd.org/changeset/base/366580 Log: bpf(4): Update the man page to reflect reality PR: 131918 Submitted by: guy at alum dot mit dot edu Reviewed by: gnn, gbe Approved by:

svn commit: r366579 - head/sbin/devd

2020-10-09 Thread Warner Losh
Author: imp Date: Fri Oct 9 15:45:34 2020 New Revision: 366579 URL: https://svnweb.freebsd.org/changeset/base/366579 Log: Remove gratuitous use of '' around arguments There's no need to use ' here, so remove it. This use causes no problems, but is a bad example. Modified:

svn commit: r366578 - head/sbin/devd

2020-10-09 Thread Warner Losh
Author: imp Date: Fri Oct 9 15:29:05 2020 New Revision: 366578 URL: https://svnweb.freebsd.org/changeset/base/366578 Log: Avoid using single quotes in arguments to logger. Single quotes interfere with the workaround put in with r335753 and aren't necessary in this case. I believe that

svn commit: r366577 - in head/usr.bin/col: . tests

2020-10-09 Thread Mark Johnston
Author: markj Date: Fri Oct 9 15:27:37 2020 New Revision: 366577 URL: https://svnweb.freebsd.org/changeset/base/366577 Log: col(1): Fix a couple of bugs - When flushing extra lines after all input has been processed, make sure that local state is reinitialized correctly. - When -f

svn commit: r366576 - head/usr.sbin/syslogd

2020-10-09 Thread Mark Johnston
Author: markj Date: Fri Oct 9 15:19:29 2020 New Revision: 366576 URL: https://svnweb.freebsd.org/changeset/base/366576 Log: syslogd: Avoid trimming host names in RFC 5424 mode RFC 5424 says that implementations should log hostnames in FQDN format. Only trim host names in RFC 3164 mode.

svn commit: r366575 - in head: libexec/rtld-elf share/man/man4 share/man/man4/man4.i386 share/man/man4/man4.powerpc stand/defaults stand/forth tools/tools/ether_reflect tools/tools/vimage

2020-10-09 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Oct 9 15:14:19 2020 New Revision: 366575 URL: https://svnweb.freebsd.org/changeset/base/366575 Log: Fix a few mandoc issues - whitespace at end of input line - skipping paragraph macro: Pp at the end of Sh - new sentence, new line - consider

svn commit: r366574 - head/sys/riscv/conf

2020-10-09 Thread Mitchell Horne
Author: mhorne Date: Fri Oct 9 14:45:41 2020 New Revision: 366574 URL: https://svnweb.freebsd.org/changeset/base/366574 Log: RISC-V LINT kernel config Create the RISC-V NOTES and LINT files. As of r366559, LINT configs are no longer generated but checked in to the tree. Reviewed

svn commit: r366573 - in head: sys/dev/iscsi usr.bin/iscsictl usr.sbin/iscsid

2020-10-09 Thread Richard Scheffenegger
Author: rscheff Date: Fri Oct 9 14:33:09 2020 New Revision: 366573 URL: https://svnweb.freebsd.org/changeset/base/366573 Log: Add DSCP support for network QoS to iscsi initiator. Allow the DSCP codepoint also to be configurable for the traffic in the direction from the initiator to

svn commit: r366572 - in head: sbin/devmatch sbin/fsck sbin/ifconfig sbin/mount_msdosfs usr.bin/chat usr.bin/du usr.bin/setchannel usr.bin/tftp usr.sbin/ctladm usr.sbin/extattrctl usr.sbin/i2c usr....

2020-10-09 Thread Gordon Bergling
Author: gbe (doc committer) Date: Fri Oct 9 14:03:45 2020 New Revision: 366572 URL: https://svnweb.freebsd.org/changeset/base/366572 Log: Fix a few mandoc issues - no blank before trailing delimiter - whitespace at end of input line - sections out of conventional order - normalizing

svn commit: r366571 - head/sys/dev/iommu

2020-10-09 Thread Ruslan Bukin
Author: br Date: Fri Oct 9 13:11:14 2020 New Revision: 366571 URL: https://svnweb.freebsd.org/changeset/base/366571 Log: Add iommu_get_dev_ctx() helper that allows to instantiate an iommu context for a given device_t. Submitted by: andrew Reviewed by: kib Sponsored by: DARPA, AFRL

svn commit: r366570 - head/sys/netinet

2020-10-09 Thread Richard Scheffenegger
Author: rscheff Date: Fri Oct 9 12:44:56 2020 New Revision: 366570 URL: https://svnweb.freebsd.org/changeset/base/366570 Log: Stop sending tiny new data segments during SACK recovery Consider the currently in-use TCP options when calculating the amount of new data to be injected during

svn commit: r366569 - in head/sys: net netinet netinet6

2020-10-09 Thread Richard Scheffenegger
Author: rscheff Date: Fri Oct 9 12:06:43 2020 New Revision: 366569 URL: https://svnweb.freebsd.org/changeset/base/366569 Log: Add IP(V6)_VLAN_PCP to set 802.1 priority per-flow. This adds a new IP_PROTO / IPV6_PROTO setsockopt (getsockopt) option IP(V6)_VLAN_PCP, which can be set to -1

svn commit: r366568 - head/usr.bin/cpuset

2020-10-09 Thread Andrey V. Elsukov
Author: ae Date: Fri Oct 9 11:24:19 2020 New Revision: 366568 URL: https://svnweb.freebsd.org/changeset/base/366568 Log: Fix EINVAL message when CPU binding information is requested for IRQ. `cpuset -g -x N` along with requested information always prints message `cpuset: getdomain:

svn commit: r366567 - head/sys/netinet

2020-10-09 Thread Richard Scheffenegger
Author: rscheff Date: Fri Oct 9 10:55:19 2020 New Revision: 366567 URL: https://svnweb.freebsd.org/changeset/base/366567 Log: Extend netstat to display TCP stack and detailed congestion state (2) Extend netstat to display TCP stack and detailed congestion state Adding the "-c" option

svn commit: r366566 - head/usr.bin/netstat

2020-10-09 Thread Richard Scheffenegger
Author: rscheff Date: Fri Oct 9 10:07:41 2020 New Revision: 366566 URL: https://svnweb.freebsd.org/changeset/base/366566 Log: Extend netstat to display TCP stack and detailed congestion state Adding the "-c" option used to show detailed per-connection congestion control state for TCP

svn commit: r366565 - stable/12/sys/netinet

2020-10-09 Thread Richard Scheffenegger
Author: rscheff Date: Fri Oct 9 09:37:43 2020 New Revision: 366565 URL: https://svnweb.freebsd.org/changeset/base/366565 Log: MFC r366150: TCP: send full initial window when timestamps are in use The fastpath in tcp_output tries to send out full segments, and avoid sending partial

svn commit: r366564 - stable/12/sys/netinet/cc

2020-10-09 Thread Richard Scheffenegger
Author: rscheff Date: Fri Oct 9 09:33:45 2020 New Revision: 366564 URL: https://svnweb.freebsd.org/changeset/base/366564 Log: MFC r366149: TCP newreno: improve after_idle ssthresh Adjust ssthresh in after_idle to the maximum of the prior ssthresh, or 3/4 of the prior cwnd. See RFC2861