svn commit: r344198 - in head/sys: conf dev/ata

2019-02-15 Thread Andriy Voskoboinyk
Author: avos Date: Sat Feb 16 01:48:38 2019 New Revision: 344198 URL: https://svnweb.freebsd.org/changeset/base/344198 Log: GC ATA_REQUEST_TIMEOUT option remnants It was removed from code in r249083 and from sys/conf/options in r249213. PR: 222170 MFC after:3 days Modi

svn commit: r344192 - in head: libexec/rc/rc.d usr.sbin/nfsd

2019-02-15 Thread Sean Eric Fagan
Author: sef Date: Sat Feb 16 00:15:54 2019 New Revision: 344192 URL: https://svnweb.freebsd.org/changeset/base/344192 Log: Add support for a virtual hostname to nfsd Specifically, this allows (via "-V vhostname") telling nfsd what principal to use, instead of the hostname. This is used a

svn commit: r344191 - head/sbin/nvmecontrol

2019-02-15 Thread Warner Losh
Author: imp Date: Sat Feb 16 00:15:02 2019 New Revision: 344191 URL: https://svnweb.freebsd.org/changeset/base/344191 Log: Remove write-only s_flag. Modified: head/sbin/nvmecontrol/firmware.c Modified: head/sbin/nvmecontrol/firmware.c =

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

2019-02-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Feb 15 23:46:34 2019 New Revision: 344190 URL: https://svnweb.freebsd.org/changeset/base/344190 Log: Imaginary cat jumped my keyboard! Modified: head/lib/libc/sys/sendfile.2 Modified: head/lib/libc/sys/sendfile.2 =

svn commit: r344189 - head/share/mk

2019-02-15 Thread Conrad Meyer
Author: cem Date: Fri Feb 15 23:41:54 2019 New Revision: 344189 URL: https://svnweb.freebsd.org/changeset/base/344189 Log: Fixup bsd.prog.mk after r344182 Reported by: tinderbox Sponsored by: Dell EMC Isilon Modified: head/share/mk/bsd.prog.mk Modified: head/share/mk/bsd.prog.mk

svn commit: r344188 - in head: lib/libc/sys sys/vm

2019-02-15 Thread Gleb Smirnoff
Author: glebius Date: Fri Feb 15 23:36:22 2019 New Revision: 344188 URL: https://svnweb.freebsd.org/changeset/base/344188 Log: For 32-bit machines rollback the default number of vnode pager pbufs back to the lever before r343030. For 64-bit machines reduce it slightly, too. Together with

Re: svn commit: r344182 - head/share/mk

2019-02-15 Thread Conrad Meyer
This one seems to have inadvertently removed a trailing parenthesis, introducing a syntax error: On Fri, Feb 15, 2019 at 2:49 PM Ed Maste wrote: > New Revision: 344182 > ... > == > --- head/share/mk/bsd.prog.mk Fri Feb

Re: svn commit: r344162 - head/sys/net

2019-02-15 Thread Bruce Evans
On Fri, 15 Feb 2019, Stephen Hurd wrote: Log: iflib: Improve return values of interrupt handlers. iflib was returning FILTER_HANDLED, in cases where FILTER_STRAY was more correct. This potentially caused issues with shared legacy interrupts. Driver filters returning FILTER_STRAY are now pr

Re: svn commit: r343030 - in head/sys: cam conf dev/md dev/nvme fs/fuse fs/nfsclient fs/smbfs kern sys ufs/ffs vm

2019-02-15 Thread Gleb Smirnoff
Enji, On Thu, Feb 14, 2019 at 05:12:21PM -0800, Enji Cooper wrote: E> > On Wed, Feb 13, 2019 at 07:24:50PM -0600, Justin Hibbits wrote: E> > J> This seems to break 32-bit platforms, or at least 32-bit book-e E> > J> powerpc, which has a limited KVA space (~500MB). It preallocates I've E> > J> s

svn commit: r344187 - head/sys/fs/fuse

2019-02-15 Thread Conrad Meyer
Author: cem Date: Fri Feb 15 22:55:13 2019 New Revision: 344187 URL: https://svnweb.freebsd.org/changeset/base/344187 Log: FUSE: Refresh cached file size when it changes (lookup) The cached fvdat->filesize is indepedent of the (mostly unused) cached_attrs, and we failed to update it when

svn commit: r344186 - head/sys/fs/fuse

2019-02-15 Thread Conrad Meyer
Author: cem Date: Fri Feb 15 22:52:49 2019 New Revision: 344186 URL: https://svnweb.freebsd.org/changeset/base/344186 Log: FUSE: The FUSE design expects writethrough caching At least prior to 7.23 (which adds FUSE_WRITEBACK_CACHE), the FUSE protocol specifies only clean data to be cached.

svn commit: r344184 - head/sys/fs/fuse

2019-02-15 Thread Conrad Meyer
Author: cem Date: Fri Feb 15 22:50:31 2019 New Revision: 344184 URL: https://svnweb.freebsd.org/changeset/base/344184 Log: FUSE: Respect userspace FS "do-not-cache" of path components The FUSE protocol demands that kernel implementations cache user filesystem path components (lookup/cnp d

svn commit: r344185 - head/sys/fs/fuse

2019-02-15 Thread Conrad Meyer
Author: cem Date: Fri Feb 15 22:51:09 2019 New Revision: 344185 URL: https://svnweb.freebsd.org/changeset/base/344185 Log: FUSE: Only "dirty" cached file size when data is dirty Most users of fuse_vnode_setsize() set the cached fvdat->filesize and update the buf cache bounds as a result o

svn commit: r344183 - head/sys/fs/fuse

2019-02-15 Thread Conrad Meyer
Author: cem Date: Fri Feb 15 22:49:15 2019 New Revision: 344183 URL: https://svnweb.freebsd.org/changeset/base/344183 Log: FUSE: Respect userspace FS "do-not-cache" of file attributes The FUSE protocol demands that kernel implementations cache user filesystem file attributes (vattr data)

svn commit: r344182 - head/share/mk

2019-02-15 Thread Ed Maste
Author: emaste Date: Fri Feb 15 22:48:50 2019 New Revision: 344182 URL: https://svnweb.freebsd.org/changeset/base/344182 Log: Use make's :tl instead of checking "no" and "NO" Suggested by: kevans Reviewed by: kevans Modified: head/share/mk/bsd.prog.mk head/share/mk/src.libnames.mk

svn commit: r344181 - head/share/mk

2019-02-15 Thread Ed Maste
Author: emaste Date: Fri Feb 15 22:30:09 2019 New Revision: 344181 URL: https://svnweb.freebsd.org/changeset/base/344181 Log: Fix Makefile conditional after r344179 Modified: head/share/mk/bsd.prog.mk Modified: head/share/mk/bsd.prog.mk ===

Re: svn commit: r344179 - in head: kerberos5/tools/asn1_compile kerberos5/tools/slc lib/clang libexec/rtld-elf share/mk stand/i386 tools/build/options usr.bin/clang usr.bin/svn

2019-02-15 Thread Ed Maste
On Fri, 15 Feb 2019 at 17:22, Ed Maste wrote: > > Author: emaste > Date: Fri Feb 15 22:22:38 2019 > New Revision: 344179 > URL: https://svnweb.freebsd.org/changeset/base/344179 > > Log: > Add WITH_PIE knob to build Position Independent Executables A last-minute cleanup/refactoring introduced a

svn commit: r344180 - head/share/man/man5

2019-02-15 Thread Ed Maste
Author: emaste Date: Fri Feb 15 22:28:34 2019 New Revision: 344180 URL: https://svnweb.freebsd.org/changeset/base/344180 Log: Regen src.conf.5 after r344179 Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 =

svn commit: r344179 - in head: kerberos5/tools/asn1_compile kerberos5/tools/slc lib/clang libexec/rtld-elf share/mk stand/i386 tools/build/options usr.bin/clang usr.bin/svn

2019-02-15 Thread Ed Maste
Author: emaste Date: Fri Feb 15 22:22:38 2019 New Revision: 344179 URL: https://svnweb.freebsd.org/changeset/base/344179 Log: Add WITH_PIE knob to build Position Independent Executables Building binaries as PIE allows the executable itself to be loaded at a random address when ASLR is ena

Re: svn commit: r344132 - head/sys/dev/ixl

2019-02-15 Thread Eric Joyner
I thought the same thing that John wrote -- I only need re@ approval for MFC's during the release process. I know it's unusually fast to have an MFC period of 1 day, but this change could fix a kernel panic when r344062 is MFC'd and doesn't result in a functional change to the driver, so I didn't

svn commit: r344162 - head/sys/net

2019-02-15 Thread Stephen Hurd
Author: shurd Date: Fri Feb 15 18:51:43 2019 New Revision: 344162 URL: https://svnweb.freebsd.org/changeset/base/344162 Log: iflib: Improve return values of interrupt handlers. iflib was returning FILTER_HANDLED, in cases where FILTER_STRAY was more correct. This potentially caused issues

svn commit: r344161 - head/stand/common

2019-02-15 Thread Kyle Evans
Author: kevans Date: Fri Feb 15 18:28:51 2019 New Revision: 344161 URL: https://svnweb.freebsd.org/changeset/base/344161 Log: stand: dev_net: correct net_open's interpretation of params net_open previously casted the first vararg to a char * and this was half-OK: at first, it is passed to

Re: svn commit: r343030 - in head/sys: cam conf dev/md dev/nvme fs/fuse fs/nfsclient fs/smbfs kern sys ufs/ffs vm

2019-02-15 Thread Justin Hibbits
On Thu, 14 Feb 2019 15:34:10 -0800 Gleb Smirnoff wrote: > Hi Justin, > > On Wed, Feb 13, 2019 at 07:24:50PM -0600, Justin Hibbits wrote: > J> This seems to break 32-bit platforms, or at least 32-bit book-e > J> powerpc, which has a limited KVA space (~500MB). It preallocates > J> I've seen ov

Re: svn commit: r344129 - head

2019-02-15 Thread Enji Cooper
> On Feb 14, 2019, at 19:08, Warner Losh wrote: > >> On Thu, Feb 14, 2019, 1:42 PM Rodney W. Grimes >> > > On Thu, Feb 14, 2019 at 12:00:22PM -0700, Warner Losh wrote: >> > > On Thu, Feb 14, 2019 at 11:29 AM Rodney W. Grimes < >> > > > > Differential Review: https://reviews.freebsd.org/D19193

svn commit: r344160 - head/usr.sbin/bhyve

2019-02-15 Thread Rodney W. Grimes
Author: rgrimes Date: Fri Feb 15 16:48:15 2019 New Revision: 344160 URL: https://svnweb.freebsd.org/changeset/base/344160 Log: In r340044 an attempt to quiet coverity warning cid 1357336 was incorrectly implemented leading to a possible double free. It is possible for both the conditional

svn commit: r344159 - head/usr.sbin/bhyve

2019-02-15 Thread Rodney W. Grimes
Author: rgrimes Date: Fri Feb 15 16:20:21 2019 New Revision: 344159 URL: https://svnweb.freebsd.org/changeset/base/344159 Log: In r340042 an attempt to quiet coverity warning cid 1305412 was overdone. nopt is the only allocated space, xopt and cp are aliases into that allocated space. Remo

Re: svn commit: r344118 - head/sys/i386/include

2019-02-15 Thread Bruce Evans
On Fri, 15 Feb 2019, Konstantin Belousov wrote: On Sat, Feb 16, 2019 at 12:27:16AM +1100, Bruce Evans wrote: On Fri, 15 Feb 2019, Konstantin Belousov wrote: On Fri, Feb 15, 2019 at 07:16:04AM +, Alexey Dokuchaev wrote: Is there a reason to prefer pushl+movl+popl instead of movl+xchgl? .

Re: svn commit: r344118 - head/sys/i386/include

2019-02-15 Thread Konstantin Belousov
On Sat, Feb 16, 2019 at 12:27:16AM +1100, Bruce Evans wrote: > On Fri, 15 Feb 2019, Konstantin Belousov wrote: > > > On Fri, Feb 15, 2019 at 07:16:04AM +, Alexey Dokuchaev wrote: > >> On Thu, Feb 14, 2019 at 01:53:11PM +, Konstantin Belousov wrote: > >>> New Revision: 344118 > >>> URL: htt

Re: svn commit: r344118 - head/sys/i386/include

2019-02-15 Thread Alexey Dokuchaev
On Sat, Feb 16, 2019 at 12:27:16AM +1100, Bruce Evans wrote: > On Fri, 15 Feb 2019, Konstantin Belousov wrote: > > On Fri, Feb 15, 2019 at 07:16:04AM +, Alexey Dokuchaev wrote: > >> On Thu, Feb 14, 2019 at 01:53:11PM +, Konstantin Belousov wrote: > >>> New Revision: 344118 > >>> URL: https:

Re: svn commit: r344118 - head/sys/i386/include

2019-02-15 Thread Bruce Evans
On Fri, 15 Feb 2019, Konstantin Belousov wrote: On Fri, Feb 15, 2019 at 07:16:04AM +, Alexey Dokuchaev wrote: On Thu, Feb 14, 2019 at 01:53:11PM +, Konstantin Belousov wrote: New Revision: 344118 URL: https://svnweb.freebsd.org/changeset/base/344118 Log: Provide userspace versions o

svn commit: r344151 - head/sys/dev/ena

2019-02-15 Thread Marcin Wojtas
Author: mw Date: Fri Feb 15 10:40:41 2019 New Revision: 344151 URL: https://svnweb.freebsd.org/changeset/base/344151 Log: Do not use ntc for obtaining buffer on Rx in the ENA In out of order mode Rx buffer are accesses by req_id. Accessing and validating mbuf using ntc is causing false er

Re: svn commit: r344118 - head/sys/i386/include

2019-02-15 Thread Konstantin Belousov
On Fri, Feb 15, 2019 at 07:16:04AM +, Alexey Dokuchaev wrote: > On Thu, Feb 14, 2019 at 01:53:11PM +, Konstantin Belousov wrote: > > New Revision: 344118 > > URL: https://svnweb.freebsd.org/changeset/base/344118 > > > > Log: > > Provide userspace versions of do_cpuid() and cpuid_count()

svn commit: r344150 - head/sys/dev/ena

2019-02-15 Thread Marcin Wojtas
Author: mw Date: Fri Feb 15 10:34:27 2019 New Revision: 344150 URL: https://svnweb.freebsd.org/changeset/base/344150 Log: Fix validation of the Rx OOO completion in the ENA Requested ID should be validated when the packet is received and not when the driver is repopulating the mbufs.

svn commit: r344148 - head/sys/netinet

2019-02-15 Thread Michael Tuexen
Author: tuexen Date: Fri Feb 15 09:45:17 2019 New Revision: 344148 URL: https://svnweb.freebsd.org/changeset/base/344148 Log: Fix a byte ordering issue for the advertised receiver window in ACK segments sent in TIMEWAIT state, which I introduced in r336937. MFC after:3 days Sponsore