Re: svn commit: r329796 - head/sys/dev/vt

2018-02-21 Thread Andriy Gapon
On 22/02/2018 04:26, John Baldwin wrote: > Author: jhb > Date: Thu Feb 22 02:26:29 2018 > New Revision: 329796 > URL: https://svnweb.freebsd.org/changeset/base/329796 > > Log: > Avoid grabbing locks when grabbing the vt(4) console for DDB. > > Trying to grab locks during cngrab() when

svn commit: r329812 - head/sys/cam

2018-02-21 Thread Warner Losh
Author: imp Date: Thu Feb 22 05:43:20 2018 New Revision: 329812 URL: https://svnweb.freebsd.org/changeset/base/329812 Log: Don't sort TRIMs. While the code for ada and da both assume that the trim list is ordered when doing the coaleascing the TRIMs, it turns out that creating the

Re: svn commit: r329814 - head/sys/cam

2018-02-21 Thread Allan Jude
On 2018-02-22 01:07, O. Hartmann wrote: > On Thu, 22 Feb 2018 05:43:50 + (UTC) > Warner Losh wrote: > >> Author: imp >> Date: Thu Feb 22 05:43:50 2018 >> New Revision: 329814 >> URL: https://svnweb.freebsd.org/changeset/base/329814 >> >> Log: >> Note when we tick. >>

Re: svn commit: r329814 - head/sys/cam

2018-02-21 Thread O. Hartmann
On Thu, 22 Feb 2018 05:43:50 + (UTC) Warner Losh wrote: > Author: imp > Date: Thu Feb 22 05:43:50 2018 > New Revision: 329814 > URL: https://svnweb.freebsd.org/changeset/base/329814 > > Log: > Note when we tick. > > To help implement a policy of 'queue all trims

svn commit: r329813 - head/sys/cam

2018-02-21 Thread Warner Losh
Author: imp Date: Thu Feb 22 05:43:45 2018 New Revision: 329813 URL: https://svnweb.freebsd.org/changeset/base/329813 Log: Wrap an extra long line This debugging line is too big for even my largest xterm. wrap it at about 80 columns. Sponsored by: Netflix Modified:

svn commit: r329816 - in head/sys: cam/nvme dev/nvme

2018-02-21 Thread Warner Losh
Author: imp Date: Thu Feb 22 05:44:00 2018 New Revision: 329816 URL: https://svnweb.freebsd.org/changeset/base/329816 Log: Combine BIO_DELETE requests for nda devices Now that we're queueing BIO_DELETE requests in the CAM I/O scheduler, it make sense to try to combine as many as possible

svn commit: r329814 - head/sys/cam

2018-02-21 Thread Warner Losh
Author: imp Date: Thu Feb 22 05:43:50 2018 New Revision: 329814 URL: https://svnweb.freebsd.org/changeset/base/329814 Log: Note when we tick. To help implement a policy of 'queue all trims until next I/O sched tick' policy to help coalesce them, note when we tick so we can do something

svn commit: r329815 - in head/sys/cam: . ata nvme scsi

2018-02-21 Thread Warner Losh
Author: imp Date: Thu Feb 22 05:43:55 2018 New Revision: 329815 URL: https://svnweb.freebsd.org/changeset/base/329815 Log: Introduce capacity flags for periphs Introduce flags word to describe the capacities of the peripheral. First bit will describe if the periph driver allows multiple

Re: svn commit: r329722 - head/cddl/usr.sbin/zdb

2018-02-21 Thread Alan Somers
On Wed, Feb 21, 2018 at 8:51 AM, Alan Somers wrote: > Author: asomers > Date: Wed Feb 21 15:51:48 2018 > New Revision: 329722 > URL: https://svnweb.freebsd.org/changeset/base/329722 > > Log: > zdb: raise WARNS from 0 to 2 > > This has only been possible since r329694 and

svn commit: r329810 - head/tools/boot

2018-02-21 Thread Kyle Evans
Author: kevans Date: Thu Feb 22 04:28:52 2018 New Revision: 329810 URL: https://svnweb.freebsd.org/changeset/base/329810 Log: Add script for linting stand/lua to tools/boot. We require some --globals due to custom loader extensions in our environment. Add everything required for this to

svn commit: r329809 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Thu Feb 22 04:15:02 2018 New Revision: 329809 URL: https://svnweb.freebsd.org/changeset/base/329809 Log: lualoader: Address some 'luacheck' concerns luacheck pointed out an assortment of issues, ranging from non-standard globals being created as well as unused

svn commit: r329811 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Thu Feb 22 04:30:52 2018 New Revision: 329811 URL: https://svnweb.freebsd.org/changeset/base/329811 Log: lualoader: Clear up an empty conditional branch We will likely uncomment this whole monster in the near future. Modified: head/stand/lua/config.lua Modified:

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

2018-02-21 Thread Alexander Motin
Author: mav Date: Thu Feb 22 03:54:59 2018 New Revision: 329805 URL: https://svnweb.freebsd.org/changeset/base/329805 Log: MFV r329803: 9080 recursive enter of vdev_indirect_rwlock from vdev_indirect_remap() illumos/illumos-gate@bdfded42e66b9fc1395ff2401aa2952f7c44ae34 A scenario

svn commit: r329804 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Thu Feb 22 03:53:49 2018 New Revision: 329804 URL: https://svnweb.freebsd.org/changeset/base/329804 Log: lualoader: Eliminate some unused locals Modified: head/stand/lua/menu.lua Modified: head/stand/lua/menu.lua

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

2018-02-21 Thread Alexander Motin
Author: mav Date: Thu Feb 22 04:01:55 2018 New Revision: 329808 URL: https://svnweb.freebsd.org/changeset/base/329808 Log: MFV r329807: 8940 Sending an intra-pool resumable send stream may result in EXDEV illumos/illumos-gate@544132fce3fa6583f01318f9559adc46614343a7 "zfs send -t "

svn commit: r329806 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Thu Feb 22 03:55:02 2018 New Revision: 329806 URL: https://svnweb.freebsd.org/changeset/base/329806 Log: lualoader: Consistently use double quotes Modified: head/stand/lua/core.lua Modified: head/stand/lua/core.lua

svn commit: r329802 - in head/sys: cddl/contrib/opensolaris/uts/common cddl/contrib/opensolaris/uts/common/fs/zfs cddl/contrib/opensolaris/uts/common/fs/zfs/sys conf

2018-02-21 Thread Alexander Motin
Author: mav Date: Thu Feb 22 03:49:06 2018 New Revision: 329802 URL: https://svnweb.freebsd.org/changeset/base/329802 Log: MFV r329799, r329800: 9079 race condition in starting and ending condesing thread for indirect vdevs illumos/illumos-gate@667ec66f1b4f491d5e839644e0912cad1c9e7122

svn commit: r329801 - head/sys/amd64/linux32

2018-02-21 Thread Ed Maste
Author: emaste Date: Thu Feb 22 03:37:01 2018 New Revision: 329801 URL: https://svnweb.freebsd.org/changeset/base/329801 Log: Remove accidental vim droppings Reported by: cy Modified: head/sys/amd64/linux32/linux32_dummy.c Modified: head/sys/amd64/linux32/linux32_dummy.c

svn commit: r329798 - in head: cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzpool/common cddl/contrib/opensolaris/lib/libzpool/commo...

2018-02-21 Thread Alexander Motin
Author: mav Date: Thu Feb 22 03:15:35 2018 New Revision: 329798 URL: https://svnweb.freebsd.org/changeset/base/329798 Log: MFV r329793, r329795: 9075 Improve ZFS pool import/load process and corrupted pool recovery illumos/illumos-gate@6f7938128a2c5e23f4b970ea101137eadd1470a1 Some

svn commit: r329796 - head/sys/dev/vt

2018-02-21 Thread John Baldwin
Author: jhb Date: Thu Feb 22 02:26:29 2018 New Revision: 329796 URL: https://svnweb.freebsd.org/changeset/base/329796 Log: Avoid grabbing locks when grabbing the vt(4) console for DDB. Trying to grab locks during cngrab() when entering the debugger is deadlock prone as all other CPUs are

svn commit: r329794 - in head/sys: amd64/linux amd64/linux32 compat/linux i386/linux

2018-02-21 Thread Ed Maste
Author: emaste Date: Thu Feb 22 02:24:17 2018 New Revision: 329794 URL: https://svnweb.freebsd.org/changeset/base/329794 Log: Correct proper nouns in the Linuxulator - Capitalize Linux - Spell FreeBSD out in full - Address some style(9) on changed lines Sponsored by: Turing

svn commit: r329787 - head/sys/sys

2018-02-21 Thread Ed Maste
Author: emaste Date: Thu Feb 22 01:59:59 2018 New Revision: 329787 URL: https://svnweb.freebsd.org/changeset/base/329787 Log: Use 'const int *' for sysentvec errno translation table This allows an sv_errtbl to be read-only .rodata. Sponsored by: Turing Robotic Industries Inc.

svn commit: r329788 - head/sys/dev/cxgbe/common

2018-02-21 Thread John Baldwin
Author: jhb Date: Thu Feb 22 02:02:31 2018 New Revision: 329788 URL: https://svnweb.freebsd.org/changeset/base/329788 Log: Bring in additional constants and message fields for TLS-related messages. Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/common/t4_msg.h

svn commit: r329785 - head/sys/dev/cxgbe/tom

2018-02-21 Thread John Baldwin
Author: jhb Date: Thu Feb 22 01:50:30 2018 New Revision: 329785 URL: https://svnweb.freebsd.org/changeset/base/329785 Log: Move DDP PCB state into a helper structure. This consolidates all of the DDP state in one place. Also, the code has now been fixed to ensure that DDP state is only

svn commit: r329786 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Thu Feb 22 01:57:38 2018 New Revision: 329786 URL: https://svnweb.freebsd.org/changeset/base/329786 Log: lualoader: Attach cli command functions to cli module Instead of the global namespace, let's attach these to the cli module. Other users, including the "local"

svn commit: r329784 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Thu Feb 22 01:44:30 2018 New Revision: 329784 URL: https://svnweb.freebsd.org/changeset/base/329784 Log: lualoader: Pull argument extraction for cli functions into cli.arguments This will be the translation layer for varargs -> cmd_name, argv for cli commands. We

svn commit: r329783 - in head: cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-02-21 Thread Alexander Motin
Author: mav Date: Thu Feb 22 01:42:13 2018 New Revision: 329783 URL: https://svnweb.freebsd.org/changeset/base/329783 Log: 8942 zfs promote .../%recv should be an error illumos/illumos-gate@add927f8c8d101e16c23eb9cd270be4fd7edf7d5 Reported on the ZFSonLinux

svn commit: r329782 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Thu Feb 22 01:31:05 2018 New Revision: 329782 URL: https://svnweb.freebsd.org/changeset/base/329782 Log: lualoader: Unbreak 'boot [kernel]' by including config Modified: head/stand/lua/cli.lua Modified: head/stand/lua/cli.lua

svn commit: r329779 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Thu Feb 22 01:21:39 2018 New Revision: 329779 URL: https://svnweb.freebsd.org/changeset/base/329779 Log: lualoader: Split cli bits out into a cli module This module will, in the not-so-distant future, grow functionality for reducing boilerplate in functions that

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

2018-02-21 Thread Alexander Motin
Author: mav Date: Thu Feb 22 01:00:46 2018 New Revision: 329777 URL: https://svnweb.freebsd.org/changeset/base/329777 Log: MFV r329776: 8477 Assertion failed in vdev_state_dirty(): spa_writeable(spa) illumos/illumos-gate@f4c1745bd6c9829a05ecec15759ede7757100ab5 Illumos 4080 allows

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

2018-02-21 Thread Alexander Motin
Author: mav Date: Thu Feb 22 00:55:25 2018 New Revision: 329775 URL: https://svnweb.freebsd.org/changeset/base/329775 Log: MFV r329774: 8408 dsl_props_set_sync_impl() does not handle nested nvlists correctly illumos/illumos-gate@85723e5eec42f46dbfdb4c09b9e1ed66501d1ccf When

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

2018-02-21 Thread Alexander Motin
Author: mav Date: Thu Feb 22 00:47:38 2018 New Revision: 329771 URL: https://svnweb.freebsd.org/changeset/base/329771 Log: MFV r329770: 9035 zfs: this statement may fall through illumos/illumos-gate@46ac8fdfc5a1f9d8240c79a6ae5b2889cbe83553 Reviewed by: Yuri Pankov

svn commit: r329769 - in head: cddl/contrib/opensolaris/cmd/zdb sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-02-21 Thread Alexander Motin
Author: mav Date: Thu Feb 22 00:42:12 2018 New Revision: 329769 URL: https://svnweb.freebsd.org/changeset/base/329769 Log: MFV r329766: 8962 zdb should work on non-idle pools illumos/illumos-gate@e144c4e6c90e7d4dccaad6db660ee42b6e7ba04f Currently `zdb` consistently fails to examine

svn commit: r329768 - in head: lib/libvmmapi sys/amd64/include sys/amd64/vmm

2018-02-21 Thread John Baldwin
Author: jhb Date: Thu Feb 22 00:39:25 2018 New Revision: 329768 URL: https://svnweb.freebsd.org/changeset/base/329768 Log: Add two new ioctls to bhyve for batch register fetch/store operations. These are a convenience for bhyve's debug server to use a single ioctl for 'g' and 'G' rather

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

2018-02-21 Thread Alexander Motin
Author: mav Date: Thu Feb 22 00:03:14 2018 New Revision: 329765 URL: https://svnweb.freebsd.org/changeset/base/329765 Log: MFV r329762: 8961 SPA load/import should tell us why it failed illumos/illumos-gate@3ee8c80c747c4aa3f83351a6920f30c411236e1b When we fail to open or import a

svn commit: r329763 - head/tools/boot

2018-02-21 Thread Warner Losh
Author: imp Date: Wed Feb 21 23:49:18 2018 New Revision: 329763 URL: https://svnweb.freebsd.org/changeset/base/329763 Log: Add LOADER_DEBUG regression test Modified: head/tools/boot/universe.sh Modified: head/tools/boot/universe.sh

svn commit: r329764 - head/sys/cam/nvme

2018-02-21 Thread Warner Losh
Author: imp Date: Wed Feb 21 23:49:35 2018 New Revision: 329764 URL: https://svnweb.freebsd.org/changeset/base/329764 Log: Minor formatting nits. Modified: head/sys/cam/nvme/nvme_da.c Modified: head/sys/cam/nvme/nvme_da.c

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

2018-02-21 Thread Alexander Motin
Author: mav Date: Wed Feb 21 23:38:30 2018 New Revision: 329761 URL: https://svnweb.freebsd.org/changeset/base/329761 Log: MFV r329760: 7638 Refactor spa_load_impl into several functions illumos/illumos-gate@1fd3785ff6601d3e391378c2dcbf4c5f27e1fe32 spa_load_impl has grown out of

svn commit: r329759 - in head: cddl/contrib/opensolaris/lib/libzpool/common/sys sys/cddl/compat/opensolaris/kern sys/cddl/compat/opensolaris/sys sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-02-21 Thread Alexander Motin
Author: mav Date: Wed Feb 21 23:15:06 2018 New Revision: 329759 URL: https://svnweb.freebsd.org/changeset/base/329759 Log: 9018 Replace kmem_cache_reap_now() with kmem_cache_reap_soon() illumos/illumos-gate@36a64e62848b51ac5a9a5216e894ec723cfef14e To prevent kmem_cache reaping from

Re: svn commit: r329758 - head/stand/sparc64/loader

2018-02-21 Thread Warner Losh
On Feb 21, 2018 3:25 PM, "Marius Strobl" wrote: Author: marius Date: Wed Feb 21 22:24:49 2018 New Revision: 329758 URL: https://svnweb.freebsd.org/changeset/base/329758 Log: Fix compilation with LOADER_DEBUG defined after r329725. Ill add tbat to my regression suit.

svn commit: r329758 - head/stand/sparc64/loader

2018-02-21 Thread Marius Strobl
Author: marius Date: Wed Feb 21 22:24:49 2018 New Revision: 329758 URL: https://svnweb.freebsd.org/changeset/base/329758 Log: Fix compilation with LOADER_DEBUG defined after r329725. Modified: head/stand/sparc64/loader/main.c Modified: head/stand/sparc64/loader/main.c

svn commit: r329744 - head/sbin/route

2018-02-21 Thread Ryan Stone
Author: rstone Date: Wed Feb 21 19:13:27 2018 New Revision: 329744 URL: https://svnweb.freebsd.org/changeset/base/329744 Log: Fix route manpage to show correct flush syntax The current route(8) manpage shows that "flush" is an argument to the optional -n flag, rather than a separate

svn commit: r329756 - in head/stand: liblua lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Wed Feb 21 21:39:47 2018 New Revision: 329756 URL: https://svnweb.freebsd.org/changeset/base/329756 Log: lualoader: Remove nasty hack for not printing out ".0" luaconf.h has a LUA_COMPAT_FLOATSTRING option that may be defined to do this instead of needing intstring.

svn commit: r329747 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Wed Feb 21 19:56:34 2018 New Revision: 329747 URL: https://svnweb.freebsd.org/changeset/base/329747 Log: lualoader: Replace 8-space indentation with a single tab Modified: head/stand/lua/drawer.lua Modified: head/stand/lua/drawer.lua

svn commit: r329755 - in head/sys/cddl/contrib/opensolaris/uts/common: fs/zfs sys sys/fm

2018-02-21 Thread Alexander Motin
Author: mav Date: Wed Feb 21 21:18:04 2018 New Revision: 329755 URL: https://svnweb.freebsd.org/changeset/base/329755 Log: MFV r329753: 8809 libzpool should leverage work done in libfakekernel illumos/illumos-gate@f06dce2c1f0f3af78581e7574f65bfba843ddb6e Reviewed by: Sebastien Roy

svn commit: r329748 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Wed Feb 21 20:17:08 2018 New Revision: 329748 URL: https://svnweb.freebsd.org/changeset/base/329748 Log: lualoader: Drop password length restrictions This seems to have been arbitrary; bootlock_password and password don't seem to have any documented length

svn commit: r329754 - in head/sbin/dhclient: . tests

2018-02-21 Thread Alan Somers
Author: asomers Date: Wed Feb 21 21:13:08 2018 New Revision: 329754 URL: https://svnweb.freebsd.org/changeset/base/329754 Log: dhclient: raise WARNS to 4 Mostly const-correctness fixes. There were also some variable-shadowing, unused variable, and a couple of sockaddr type-correctness

svn commit: r329750 - head/lib/libifconfig

2018-02-21 Thread Alan Somers
Author: asomers Date: Wed Feb 21 20:45:43 2018 New Revision: 329750 URL: https://svnweb.freebsd.org/changeset/base/329750 Log: libifconfig: fix ifconfig_set_metric Due to a copy/paste error, ifconfig_set_metric actually set the mtu, not the metric. See Also:

Re: svn commit: r329737 - head/stand/i386/boot2

2018-02-21 Thread Colin Percival
On 02/21/18 10:10, Benno Rice wrote: > Curiously, changing whitespace seems to cause the md5 of the .o files to > differ > these days hence the following testing strategy: > > Tested by: objdump -d | md5 (both in-tree clang and lang/gcc6) Is this simply because line numbers are

Re: svn commit: r329731 - head/stand/lua

2018-02-21 Thread Devin Teske
> On Feb 21, 2018, at 10:50 AM, Kyle Evans wrote: > > Author: kevans > Date: Wed Feb 21 16:50:41 2018 > New Revision: 329731 > URL: https://svnweb.freebsd.org/changeset/base/329731 > > Log: > lualoader: Add boot environment support > > This looks a little bit differently

svn commit: r329746 - head/sys/ufs/ffs

2018-02-21 Thread Kirk McKusick
Author: mckusick Date: Wed Feb 21 19:56:19 2018 New Revision: 329746 URL: https://svnweb.freebsd.org/changeset/base/329746 Log: Refactor fix in r329600 to do its check once in readsuper() rather than in the two places that call readsuper(). No semantic change intended. Reviewed by:

svn commit: r329740 - head/stand/i386/boot2

2018-02-21 Thread Benno Rice
Author: benno Date: Wed Feb 21 18:32:06 2018 New Revision: 329740 URL: https://svnweb.freebsd.org/changeset/base/329740 Log: Further style(9) changes. Tested by:objdump -d | md5 (both in-tree clang and lang/gcc6) Modified: head/stand/i386/boot2/boot2.c Modified:

svn commit: r329749 - head/sbin/fsck_ffs

2018-02-21 Thread Kirk McKusick
Author: mckusick Date: Wed Feb 21 20:32:23 2018 New Revision: 329749 URL: https://svnweb.freebsd.org/changeset/base/329749 Log: Fix a read past the end of a buffer in fsck. To minimize the time spent scanning all of the directories in pass 2 (Check Pathnames), fsck uses a search order

svn commit: r329742 - head/sys/net

2018-02-21 Thread Stephen Hurd
Author: shurd Date: Wed Feb 21 18:57:00 2018 New Revision: 329742 URL: https://svnweb.freebsd.org/changeset/base/329742 Log: IFLIB: Make isc_magic unsigned The IFLIB_MAGIC macro is > INT_MAX, so isc_magic should be able to contain it. Reported by: jeb Sponsored by: Limelight

Re: svn commit: r329737 - head/stand/i386/boot2

2018-02-21 Thread Benno Rice
> On Feb 21, 2018, at 10:46 AM, Colin Percival wrote: > > On 02/21/18 10:10, Benno Rice wrote: >> Curiously, changing whitespace seems to cause the md5 of the .o files to >> differ >> these days hence the following testing strategy: >> >> Tested by: objdump -d | md5

Re: svn commit: r329737 - head/stand/i386/boot2

2018-02-21 Thread Ed Maste
On 21 February 2018 at 13:10, Benno Rice wrote: > Author: benno > Date: Wed Feb 21 18:10:50 2018 > New Revision: 329737 > URL: https://svnweb.freebsd.org/changeset/base/329737 > > Log: > Purely whitespace changes bringing this file closer to style(9). > > Curiously,

svn commit: r329745 - head/stand/common

2018-02-21 Thread Ed Maste
Author: emaste Date: Wed Feb 21 19:42:54 2018 New Revision: 329745 URL: https://svnweb.freebsd.org/changeset/base/329745 Log: load_elf.c: Use consistent indentation As noted in D14267 load_elf.c has a variety of indentation styles. Move to standard 8 column hard tab indents, 4 space

svn commit: r329743 - in head: sbin/route sys/net

2018-02-21 Thread Ryan Stone
Author: rstone Date: Wed Feb 21 19:13:23 2018 New Revision: 329743 URL: https://svnweb.freebsd.org/changeset/base/329743 Log: Allow route change requests to not specify the gateway. Only require a gateway to be specified on a route add request. On a route change request that does not

Re: svn commit: r329737 - head/stand/i386/boot2

2018-02-21 Thread Benno Rice
> On Feb 21, 2018, at 10:51 AM, Ed Maste wrote: > > On 21 February 2018 at 13:10, Benno Rice wrote: >> Author: benno >> Date: Wed Feb 21 18:10:50 2018 >> New Revision: 329737 >> URL: https://svnweb.freebsd.org/changeset/base/329737 >> >> Log: >> Purely

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

2018-02-21 Thread Andriy Gapon
On 21/02/2018 20:12, Alexander Motin wrote: > Author: mav > Date: Wed Feb 21 18:12:19 2018 > New Revision: 329738 > URL: https://svnweb.freebsd.org/changeset/base/329738 > > Log: > MFV r329736: 8969 Cannot boot from RAIDZ with parity > 1 > >

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

2018-02-21 Thread Alexander Motin
Author: mav Date: Wed Feb 21 18:12:19 2018 New Revision: 329738 URL: https://svnweb.freebsd.org/changeset/base/329738 Log: MFV r329736: 8969 Cannot boot from RAIDZ with parity > 1 illumos/illumos-gate@0fb055e81fd0cda5221da8ddd98b2f8d1fc6bdbe At present it is possible to boot from a

svn commit: r329737 - head/stand/i386/boot2

2018-02-21 Thread Benno Rice
Author: benno Date: Wed Feb 21 18:10:50 2018 New Revision: 329737 URL: https://svnweb.freebsd.org/changeset/base/329737 Log: Purely whitespace changes bringing this file closer to style(9). Curiously, changing whitespace seems to cause the md5 of the .o files to differ these days hence

svn commit: r329734 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Wed Feb 21 17:33:01 2018 New Revision: 329734 URL: https://svnweb.freebsd.org/changeset/base/329734 Log: lualoader: Don't execute menu.autoboot() for every opened menu Attempt to autoboot when we open the default menu, and only when we open the default menu. This

Re: svn commit: r329612 - in head/sys: kern sys

2018-02-21 Thread Andrew Turner
Yes, I’m still getting it on r329721. Andrew > On 21 Feb 2018, at 17:02, Conrad Meyer wrote: > > Do you have r329672 yet? > > Best, > Conrad > > On Wed, Feb 21, 2018 at 7:11 AM, Andrew Turner wrote: >> >>> On 20 Feb 2018, at 00:06, Jeff Roberson

Re: svn commit: r329612 - in head/sys: kern sys

2018-02-21 Thread Conrad Meyer
Do you have r329672 yet? Best, Conrad On Wed, Feb 21, 2018 at 7:11 AM, Andrew Turner wrote: > >> On 20 Feb 2018, at 00:06, Jeff Roberson wrote: >> >> Author: jeff >> Date: Tue Feb 20 00:06:07 2018 >> New Revision: 329612 >> URL:

svn commit: r329732 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/l...

2018-02-21 Thread Alexander Motin
Author: mav Date: Wed Feb 21 16:51:02 2018 New Revision: 329732 URL: https://svnweb.freebsd.org/changeset/base/329732 Log: MFV r329502: 7614 zfs device evacuation/removal illumos/illumos-gate@5cabbc6b49070407fb9610cfe73d4c0e0dea3e77 https://www.illumos.org/issues/7614: This project

svn commit: r329731 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Wed Feb 21 16:50:41 2018 New Revision: 329731 URL: https://svnweb.freebsd.org/changeset/base/329731 Log: lualoader: Add boot environment support This looks a little bit differently than the forth version for the time being, just to get off the ground- rather than a

svn commit: r329730 - head/sys/modules/imx/imx_i2c

2018-02-21 Thread Ian Lepore
Author: ian Date: Wed Feb 21 16:36:44 2018 New Revision: 329730 URL: https://svnweb.freebsd.org/changeset/base/329730 Log: Add required header files. Reported by: andreast@ Modified: head/sys/modules/imx/imx_i2c/Makefile Modified: head/sys/modules/imx/imx_i2c/Makefile

svn commit: r329729 - in head/sys/modules/spi: at45d mx25l

2018-02-21 Thread Ian Lepore
Author: ian Date: Wed Feb 21 16:34:04 2018 New Revision: 329729 URL: https://svnweb.freebsd.org/changeset/base/329729 Log: Remove some files that snuck in via cut and paste. Having these compiled into the module causes the kobj method descriptors to be resolved incorrectly (by the

svn commit: r329728 - head/stand/zfs

2018-02-21 Thread Kyle Evans
Author: kevans Date: Wed Feb 21 16:33:08 2018 New Revision: 329728 URL: https://svnweb.freebsd.org/changeset/base/329728 Log: stand/zfs: Unbreak build, 'truct' ~= 'struct' Modified: head/stand/zfs/zfs.c Modified: head/stand/zfs/zfs.c

svn commit: r329727 - head/stand/zfs

2018-02-21 Thread Kyle Evans
Author: kevans Date: Wed Feb 21 16:26:16 2018 New Revision: 329727 URL: https://svnweb.freebsd.org/changeset/base/329727 Log: stand/zfs: Add all bootenvs to environment For the benefit of lualoader, add all bootenvs to environment when init_zfs_bootenv is invoked. All of the boot

svn commit: r329726 - head/stand/i386/loader

2018-02-21 Thread Warner Losh
Author: imp Date: Wed Feb 21 15:58:00 2018 New Revision: 329726 URL: https://svnweb.freebsd.org/changeset/base/329726 Log: Honor settings for including / excluding cd9660, ufs, ext2fs and msdos. The Makefile gives the impression that ext2fs and msdos were excluded (they weren't) and that

svn commit: r329724 - head/libexec/getty

2018-02-21 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Feb 21 15:57:24 2018 New Revision: 329724 URL: https://svnweb.freebsd.org/changeset/base/329724 Log: Build getty(8) with WARNS=6. Reviewed by: imp@ MFC after:2 weeks Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r329725 - in head/stand: . common efi/libefi efi/loader i386/loader sparc64/loader userboot/userboot

2018-02-21 Thread Warner Losh
Author: imp Date: Wed Feb 21 15:57:36 2018 New Revision: 329725 URL: https://svnweb.freebsd.org/changeset/base/329725 Log: Consolidate three copies of ZFS commands into a central location. There's no reason to have multiple copies of lszfs and reloadbe. Consolidate them into one

svn commit: r329723 - head/usr.bin/ministat

2018-02-21 Thread Ed Maste
Author: emaste Date: Wed Feb 21 15:54:23 2018 New Revision: 329723 URL: https://svnweb.freebsd.org/changeset/base/329723 Log: ministat: disallow negative variance / nan Stddev With all values identical it was possible for Var() to return a negative value due to limited floating point

svn commit: r329722 - head/cddl/usr.sbin/zdb

2018-02-21 Thread Alan Somers
Author: asomers Date: Wed Feb 21 15:51:48 2018 New Revision: 329722 URL: https://svnweb.freebsd.org/changeset/base/329722 Log: zdb: raise WARNS from 0 to 2 This has only been possible since r329694 and r329508 MFC after:3 weeks X-MFC-With: 329694 X-MFC-With: 329508

Re: svn commit: r329612 - in head/sys: kern sys

2018-02-21 Thread Andrew Turner
> On 20 Feb 2018, at 00:06, Jeff Roberson wrote: > > Author: jeff > Date: Tue Feb 20 00:06:07 2018 > New Revision: 329612 > URL: https://svnweb.freebsd.org/changeset/base/329612 > > Log: > Further parallelize the buffer cache. > > Provide multiple clean queues partitioned

svn commit: r329721 - head/sys/powerpc/include

2018-02-21 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Feb 21 15:15:58 2018 New Revision: 329721 URL: https://svnweb.freebsd.org/changeset/base/329721 Log: Add definition for the PowerPC A2. Modified: head/sys/powerpc/include/spr.h Modified: head/sys/powerpc/include/spr.h

svn commit: r329720 - head/sys/powerpc/include

2018-02-21 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Feb 21 15:15:31 2018 New Revision: 329720 URL: https://svnweb.freebsd.org/changeset/base/329720 Log: Add definitions for the new Radix MMU mode on POWER9+ CPUs. Modified: head/sys/powerpc/include/pte.h Modified: head/sys/powerpc/include/pte.h

svn commit: r329719 - in head: cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-02-21 Thread Andriy Gapon
Author: avg Date: Wed Feb 21 15:12:14 2018 New Revision: 329719 URL: https://svnweb.freebsd.org/changeset/base/329719 Log: MFV r329718: 8520 7198 lzc_rollback_to should support rolling back to origin illumos/illumos-gate@95643f75d23914a3e332adc9661ed51749e9858d

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

2018-02-21 Thread Andriy Gapon
Author: avg Date: Wed Feb 21 15:07:49 2018 New Revision: 329717 URL: https://svnweb.freebsd.org/changeset/base/329717 Log: MFV r329715: 8997 ztest assertion failure in zil_lwb_write_issue illumos/illumos-gate@f864f99efe57685e1762590c1a880dd16bca6da9

Re: svn commit: r329716 - head/stand/lua

2018-02-21 Thread Kyle Evans
On Wed, Feb 21, 2018 at 8:37 AM, Kyle Evans wrote: > Author: kevans > Date: Wed Feb 21 14:37:49 2018 > New Revision: 329716 > URL: https://svnweb.freebsd.org/changeset/base/329716 > > Log: > lualoader: Use the key that interrupts autoboot as a menu choice > > This matches

svn commit: r329716 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Wed Feb 21 14:37:49 2018 New Revision: 329716 URL: https://svnweb.freebsd.org/changeset/base/329716 Log: lualoader: Use the key that interrupts autoboot as a menu choice This matches forth behavior. Hitting "6" when autobooting at the welcome menu will now take you

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

2018-02-21 Thread Andriy Gapon
Author: avg Date: Wed Feb 21 14:31:48 2018 New Revision: 329714 URL: https://svnweb.freebsd.org/changeset/base/329714 Log: MFV r329713: 8731 ASSERT3U(nui64s, <=, UINT16_MAX) fails for large blocks illumos/illumos-gate@a6c1eb3c08094a6db69aa1dc6315bc814e82e79c

svn commit: r329712 - in head/sys: conf powerpc/aim powerpc/include powerpc/powernv powerpc/powerpc

2018-02-21 Thread Wojciech Macek
Author: wma Date: Wed Feb 21 14:28:40 2018 New Revision: 329712 URL: https://svnweb.freebsd.org/changeset/base/329712 Log: PowerNV: Put processor to power-save state in idle thread When processor enters power-save state it releases resources shared with other cpu threads which makes

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

2018-02-21 Thread Andriy Gapon
Author: avg Date: Wed Feb 21 14:17:07 2018 New Revision: 329711 URL: https://svnweb.freebsd.org/changeset/base/329711 Log: MFV r329710: 8966 Source file zfs_acl.c, function zfs_aclset_common contains a use after end of the lifetime of a local variable

svn commit: r329709 - head/stand/lua

2018-02-21 Thread Kyle Evans
Author: kevans Date: Wed Feb 21 14:07:53 2018 New Revision: 329709 URL: https://svnweb.freebsd.org/changeset/base/329709 Log: lualoader: Don't autodetect kernels if 'kernels' is explicitly set Modified: head/stand/lua/core.lua Modified: head/stand/lua/core.lua

svn commit: r329708 - head/sys/cam/scsi

2018-02-21 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Feb 21 14:05:13 2018 New Revision: 329708 URL: https://svnweb.freebsd.org/changeset/base/329708 Log: Use proper buffer length (the announce_buf char pointer used to be anarray), broken in r317143. This fixes those weird "cd0: Attempt" messages at boot. PR:

svn commit: r329703 - head/sys/compat/linux

2018-02-21 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 21 10:13:17 2018 New Revision: 329703 URL: https://svnweb.freebsd.org/changeset/base/329703 Log: Allow LinuxKPI character devices to receive mmap() calls from the Linux binary mode user-space emulation layer. This is a regression issue after r328436, when

svn commit: r329702 - head/sys/powerpc/powernv

2018-02-21 Thread Wojciech Macek
Author: wma Date: Wed Feb 21 08:13:17 2018 New Revision: 329702 URL: https://svnweb.freebsd.org/changeset/base/329702 Log: PowerNV: add missing RTC_WRITE support Add function which can store RTC values to OPAL. Submitted by: Wojciech Macek Obtained from:

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

2018-02-21 Thread Wojciech Macek
Author: wma Date: Wed Feb 21 08:05:56 2018 New Revision: 329701 URL: https://svnweb.freebsd.org/changeset/base/329701 Log: CXGBE: implement prefetch on non-Intel architectures Submitted by: Michal Stanek Obtained from: Semihalf Reviewed by: