Re: svn commit: r252032 - head/sys/amd64/include

2013-06-21 Thread Bruce Evans
On Fri, 21 Jun 2013, Gleb Smirnoff wrote: On Fri, Jun 21, 2013 at 09:04:34AM +1000, Bruce Evans wrote: B> >> The i386 version of the counter asm doesn't support the immediate B> >> constraint for technical reasons. 64 bit counters are too large and B> >> slow to use on i386, especially when the

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

2013-06-21 Thread Steven Hartland
Author: smh Date: Fri Jun 21 12:02:09 2013 New Revision: 252056 URL: http://svnweb.freebsd.org/changeset/base/252056 Log: Fixed import of destroyed ZFS pools failing due to vdev_geom incorrectly preventing config loads from devices associated with destroyed pools. Reviewed by: avg MFC

Re: svn commit: r252032 - head/sys/amd64/include

2013-06-21 Thread Gleb Smirnoff
Bruce, On Fri, Jun 21, 2013 at 09:02:36PM +1000, Bruce Evans wrote: B> Not if it is a 32-bit increment on 32-bit systems, as it should be. B> B> I said to use a daemon to convert small (16 or 32 bit) counters into B> larger (32 or 64 bit) ones. It is almost as efficient to call the B> accumula

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

2013-06-21 Thread Steven Hartland
Author: smh Date: Fri Jun 21 15:30:46 2013 New Revision: 252059 URL: http://svnweb.freebsd.org/changeset/base/252059 Log: Fixed ZFS zpool freeze (debug command) not processing due to invalid ioctl call syntax. MFC after:1 week Modified: head/cddl/contrib/opensolaris/cmd/zpool/zpool_

svn commit: r252061 - head/sys/cddl/compat/opensolaris/sys

2013-06-21 Thread Steven Hartland
Author: smh Date: Fri Jun 21 15:55:03 2013 New Revision: 252061 URL: http://svnweb.freebsd.org/changeset/base/252061 Log: Switch ZFS mutex_owner macro to use sx_xholder as its now exported via sx.h MFC after:1 week Modified: head/sys/cddl/compat/opensolaris/sys/mutex.h Modified: hea

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

2013-06-21 Thread Steven Hartland
Author: smh Date: Fri Jun 21 15:47:10 2013 New Revision: 252060 URL: http://svnweb.freebsd.org/changeset/base/252060 Log: Fix intermittent ZFS lock panic when kernel is compiled with debugging caused by access of uninitialized smlock in mmutex_init. MFC after:1 week Modified: head/

svn commit: r252062 - head/etc/rc.d

2013-06-21 Thread Xin LI
Author: delphij Date: Fri Jun 21 17:23:19 2013 New Revision: 252062 URL: http://svnweb.freebsd.org/changeset/base/252062 Log: Call sshd_precmd instead of sshd_configtest when the operator requests reload or restart, which, in addition of testing the configuration, will also generate host key

svn commit: r252064 - in head/sys: conf modules/runfw

2013-06-21 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Jun 21 18:16:54 2013 New Revision: 252064 URL: http://svnweb.freebsd.org/changeset/base/252064 Log: Rename run(4) firmware file from runfw to run.fw. Previous name was the same as top-level target name for "device runfw" kernel option and caused cyclic dependancy that

svn commit: r252067 - head/sys/fs/nfsclient

2013-06-21 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 21 19:41:30 2013 New Revision: 252067 URL: http://svnweb.freebsd.org/changeset/base/252067 Log: Since some NFSv4 servers enforce the requirement for a reserved port#, enable use of the (no)resvport mount option for NFSv4. I had thought that the RFC required tha

svn commit: r252072 - head/sys/fs/nfsclient

2013-06-21 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 21 22:26:18 2013 New Revision: 252072 URL: http://svnweb.freebsd.org/changeset/base/252072 Log: When the NFSv4.1 client is writing to a pNFS Data Server (DS), the file's size attribute does not get updated. As such, it is necessary to invalidate the attribute c

svn commit: r252074 - head/sys/fs/nfsclient

2013-06-21 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 21 22:46:16 2013 New Revision: 252074 URL: http://svnweb.freebsd.org/changeset/base/252074 Log: The NFSv4.1 LayoutCommit operation requires a valid offset and length. (0, 0 is not sufficient) This patch a loop for each file layout, using the offset, length of e

svn commit: r252075 - in head/usr.sbin/bsdconfig/share: . media

2013-06-21 Thread Devin Teske
Author: dteske Date: Fri Jun 21 22:47:31 2013 New Revision: 252075 URL: http://svnweb.freebsd.org/changeset/base/252075 Log: Typo and grammar fixes to comments. Modified: head/usr.sbin/bsdconfig/share/dialog.subr head/usr.sbin/bsdconfig/share/media/ftp.subr Modified: head/usr.sbin/bsdconfi

svn commit: r252076 - head/usr.sbin/bsdconfig/share/media

2013-06-21 Thread Devin Teske
Author: dteske Date: Fri Jun 21 22:53:51 2013 New Revision: 252076 URL: http://svnweb.freebsd.org/changeset/base/252076 Log: Style. Modified: head/usr.sbin/bsdconfig/share/media/httpproxy.subr head/usr.sbin/bsdconfig/share/media/options.subr Modified: head/usr.sbin/bsdconfig/share/media/ht

svn commit: r252077 - in head/usr.sbin/bsdconfig: networking/share share/media share/packages

2013-06-21 Thread Devin Teske
Author: dteske Date: Fri Jun 21 23:13:55 2013 New Revision: 252077 URL: http://svnweb.freebsd.org/changeset/base/252077 Log: Alphabetize library includes. Modified: head/usr.sbin/bsdconfig/networking/share/device.subr head/usr.sbin/bsdconfig/networking/share/hostname.subr head/usr.sbin/bs

svn commit: r252078 - head/usr.sbin/bsdconfig/share/media

2013-06-21 Thread Devin Teske
Author: dteske Date: Fri Jun 21 23:18:29 2013 New Revision: 252078 URL: http://svnweb.freebsd.org/changeset/base/252078 Log: Remove unused library include. Modified: head/usr.sbin/bsdconfig/share/media/ftp.subr Modified: head/usr.sbin/bsdconfig/share/media/ftp.subr ==

svn commit: r252079 - head/usr.sbin/bsdconfig/share/media

2013-06-21 Thread Devin Teske
Author: dteske Date: Fri Jun 21 23:21:16 2013 New Revision: 252079 URL: http://svnweb.freebsd.org/changeset/base/252079 Log: Add missing local declaration. Modified: head/usr.sbin/bsdconfig/share/media/ftp.subr Modified: head/usr.sbin/bsdconfig/share/media/ftp.subr ==

Re: svn commit: r252032 - head/sys/amd64/include

2013-06-21 Thread Bruce Evans
On Fri, 21 Jun 2013, Gleb Smirnoff wrote: On Fri, Jun 21, 2013 at 09:02:36PM +1000, Bruce Evans wrote: B> Not if it is a 32-bit increment on 32-bit systems, as it should be. B> B> I said to use a daemon to convert small (16 or 32 bit) counters into B> larger (32 or 64 bit) ones. It is almost as

svn commit: r252081 - head/usr.sbin/bsdconfig/console

2013-06-21 Thread Devin Teske
Author: dteske Date: Sat Jun 22 02:47:54 2013 New Revision: 252081 URL: http://svnweb.freebsd.org/changeset/base/252081 Log: Fix a regression introduced by r251967, resulting in: /usr/libexec/bsdconfig/080.console/console: 136: Syntax error: ";;" unexpected (expecting "fi") Modified: h

svn commit: r252082 - head/usr.sbin/bsdconfig/mouse

2013-06-21 Thread Devin Teske
Author: dteske Date: Sat Jun 22 02:51:22 2013 New Revision: 252082 URL: http://svnweb.freebsd.org/changeset/base/252082 Log: Fix a regression introduced by r251967, resulting in: /usr/libexec/bsdconfig/110.mouse/mouse: 134: Syntax error: ";;" unexpected (expecting "fi") Modified: head/

svn commit: r252083 - head/usr.sbin/bsdconfig/share/media

2013-06-21 Thread Devin Teske
Author: dteske Date: Sat Jun 22 02:57:52 2013 New Revision: 252083 URL: http://svnweb.freebsd.org/changeset/base/252083 Log: Take advantage of the fact that f_getvar evaluates the $var_to_get parameter within braces, allowing all manner of parameter expansions (properly quoted or escaped, of

Re: svn commit: r252032 - head/sys/amd64/include

2013-06-21 Thread Bruce Evans
On Sat, 22 Jun 2013, I wrote: ... Here are considerably expanded tests, with noninline tests dropped. Summary of times on Athlon64: simple increment: 4-7 cycles (1) simple increment preceded by feature test: 5-8 cycles (1) simple 32-bit increment:

svn commit: r252084 - head/usr.sbin/bsdconfig/share/media

2013-06-21 Thread Devin Teske
Author: dteske Date: Sat Jun 22 03:44:49 2013 New Revision: 252084 URL: http://svnweb.freebsd.org/changeset/base/252084 Log: Trim the trailing `/' from the ftp_dir when validating that the directory exists on the FTP server. This now means that when you specify a full-path to the repository

svn commit: r252085 - head/usr.sbin/bsdconfig/share/media

2013-06-21 Thread Devin Teske
Author: dteske Date: Sat Jun 22 03:50:14 2013 New Revision: 252085 URL: http://svnweb.freebsd.org/changeset/base/252085 Log: Oops, previous revision (r252084) broke non-full-path resolution (e.g., ftp://ftp.freebsd.org or ftp://ftp.freebsd.org/). Now both full-path and non-full resolution is

svn commit: r252086 - head/usr.sbin/bsdconfig/share/media

2013-06-21 Thread Devin Teske
Author: dteske Date: Sat Jun 22 03:54:17 2013 New Revision: 252086 URL: http://svnweb.freebsd.org/changeset/base/252086 Log: Fix a code typo that prevented the probing of the current defaultrouter in-order to pre-populate the editor. Modified: head/usr.sbin/bsdconfig/share/media/tcpip.subr

Re: svn commit: r252074 - head/sys/fs/nfsclient

2013-06-21 Thread Glen Barber
On Fri, Jun 21, 2013 at 10:46:17PM +, Rick Macklem wrote: > Author: rmacklem > Date: Fri Jun 21 22:46:16 2013 > New Revision: 252074 > URL: http://svnweb.freebsd.org/changeset/base/252074 > > Log: > The NFSv4.1 LayoutCommit operation requires a valid offset and length. > (0, 0 is not suffi