Re: svn commit: r260463 - head/sys/dev/usb/wlan

2014-01-09 Thread Gleb Smirnoff
On Thu, Jan 09, 2014 at 01:48:34AM +, Kevin Lo wrote: K Author: kevlo K Date: Thu Jan 9 01:48:33 2014 K New Revision: 260463 K URL: http://svnweb.freebsd.org/changeset/base/260463 K K Log: K Replace deprecated M_DONTWAIT with M_NOWAIT. K K Modified: K head/sys/dev/usb/wlan/if_rsu.c K

svn commit: r260471 - head/sbin/casperd

2014-01-09 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jan 9 09:19:59 2014 New Revision: 260471 URL: http://svnweb.freebsd.org/changeset/base/260471 Log: Always create /var/run/casper with correct permissions and don't depend on the calling process' umask. Submitted by: Mikhail m...@lenta.ru Modified:

svn commit: r260472 - head/sbin/route

2014-01-09 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Jan 9 10:40:36 2014 New Revision: 260472 URL: http://svnweb.freebsd.org/changeset/base/260472 Log: Do some more sanity checks in route(8): require netmask to have the same address family as destination. Found by: jmg MFC after:2 weeks Modified:

svn commit: r260473 - stable/10/sys/x86/cpufreq

2014-01-09 Thread Alexander Motin
Author: mav Date: Thu Jan 9 10:44:27 2014 New Revision: 260473 URL: http://svnweb.freebsd.org/changeset/base/260473 Log: MFC r259197: Do not DELAY() for P-state transition unless we want to see the result. Intel manual says: If a transition is already in progress, transition to a new

svn commit: r260474 - stable/9/sys/x86/cpufreq

2014-01-09 Thread Alexander Motin
Author: mav Date: Thu Jan 9 10:45:37 2014 New Revision: 260474 URL: http://svnweb.freebsd.org/changeset/base/260474 Log: MFC r259197: Do not DELAY() for P-state transition unless we want to see the result. Intel manual says: If a transition is already in progress, transition to a new

svn commit: r260475 - in stable/10/sys/cam: ata scsi

2014-01-09 Thread Alexander Motin
Author: mav Date: Thu Jan 9 10:49:14 2014 New Revision: 260475 URL: http://svnweb.freebsd.org/changeset/base/260475 Log: MFC r256547 (by smh): Added 4K quirks for Corsair Neutron GTX SSD's Modified: stable/10/sys/cam/ata/ata_da.c stable/10/sys/cam/scsi/scsi_da.c Directory Properties:

svn commit: r260476 - stable/10/sys/cam/ctl

2014-01-09 Thread Alexander Motin
Author: mav Date: Thu Jan 9 10:50:20 2014 New Revision: 260476 URL: http://svnweb.freebsd.org/changeset/base/260476 Log: MFC r256995: Remove 128KB bzero() call done for every block I/O data buffer. Modified: stable/10/sys/cam/ctl/ctl_backend_block.c Directory Properties: stable/10/

svn commit: r260477 - stable/10/sys/cam/ctl

2014-01-09 Thread Alexander Motin
Author: mav Date: Thu Jan 9 10:59:31 2014 New Revision: 260477 URL: http://svnweb.freebsd.org/changeset/base/260477 Log: MFC r257946: Introduce seperate mutex lock to protect protect CTL I/O pools, slightly reducing global CTL lock scope and congestion. While there, simplify CTL I/O

svn commit: r260478 - stable/10/sys/geom/multipath

2014-01-09 Thread Alexander Motin
Author: mav Date: Thu Jan 9 11:11:47 2014 New Revision: 260478 URL: http://svnweb.freebsd.org/changeset/base/260478 Log: MFC r258220, r258251: Implement automatic live resize support for GEOM MULTIPATH class. In manual mode just automatically resize provider in any direction. In

Re: svn commit: r259730 - in head: gnu/lib/csu gnu/lib/libgcc gnu/lib/libstdc++ gnu/lib/libsupc++ lib/atf/libatf-c/tests share/mk sys/conf tools/tools/ath/athstats tools/tools/net80211/wlanstats usr.b

2014-01-09 Thread Dimitry Andric
On 09 Jan 2014, at 02:19, Zbigniew Bodek z...@freebsd.org wrote: 2013/12/22 Dimitry Andric d...@freebsd.org: ... Modified: head/gnu/lib/csu/Makefile head/gnu/lib/libgcc/Makefile head/gnu/lib/libstdc++/Makefile head/gnu/lib/libsupc++/Makefile head/lib/atf/libatf-c/tests/Makefile

svn commit: r260481 - head/sys/netinet6

2014-01-09 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 9 14:58:06 2014 New Revision: 260481 URL: http://svnweb.freebsd.org/changeset/base/260481 Log: Add MRT6_DLOG() macro for debugging. Reduce number of MRT6DEBUG ifdefs and fix some broken format strings. MFC after:1 week Sponsored by: Yandex LLC Modified:

Re: svn commit: r259730 - in head: gnu/lib/csu gnu/lib/libgcc gnu/lib/libstdc++ gnu/lib/libsupc++ lib/atf/libatf-c/tests share/mk sys/conf tools/tools/ath/athstats tools/tools/net80211/wlanstats usr.b

2014-01-09 Thread Ian Lepore
On Thu, 2014-01-09 at 12:58 +0100, Dimitry Andric wrote: On 09 Jan 2014, at 02:19, Zbigniew Bodek z...@freebsd.org wrote: 2013/12/22 Dimitry Andric d...@freebsd.org: ... Modified: head/gnu/lib/csu/Makefile head/gnu/lib/libgcc/Makefile head/gnu/lib/libstdc++/Makefile

svn commit: r260482 - head/sys/netgraph/bluetooth/drivers/ubt

2014-01-09 Thread Adrian Chadd
Author: adrian Date: Thu Jan 9 15:31:44 2014 New Revision: 260482 URL: http://svnweb.freebsd.org/changeset/base/260482 Log: Be much more specific (and correct) about the device id matching. These device IDs have an AR3012 bluetooth device that shows up with bcdDevice=1 when it doesn't

svn commit: r260483 - head/sbin/kldload

2014-01-09 Thread Baptiste Daroussin
Author: bapt Date: Thu Jan 9 15:34:23 2014 New Revision: 260483 URL: http://svnweb.freebsd.org/changeset/base/260483 Log: Import error message shown to the user when trying to load a module that is already loaded or compiled withing the kernel MFC after:1 week Modified:

svn commit: r260484 - head/sbin/kldload

2014-01-09 Thread Baptiste Daroussin
Author: bapt Date: Thu Jan 9 15:35:35 2014 New Revision: 260484 URL: http://svnweb.freebsd.org/changeset/base/260484 Log: Fix error counting Modified: head/sbin/kldload/kldload.c Modified: head/sbin/kldload/kldload.c

svn commit: r260485 - head/sys/netinet6

2014-01-09 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 9 15:38:28 2014 New Revision: 260485 URL: http://svnweb.freebsd.org/changeset/base/260485 Log: Remove extra nesting from X_ip6_mforward() function. Also remove disabled definitions from ip6_mroute.h. PR: 185148 Sponsored by: Yandex LLC Modified:

svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Alexander Motin
Author: mav Date: Thu Jan 9 15:55:55 2014 New Revision: 260486 URL: http://svnweb.freebsd.org/changeset/base/260486 Log: Remove very low default limit of 4 nfsd threads. nfsd's own default is 8 * hw.ncpu, that sounds more appropriate for these SMP/NCQ/... days. Modified:

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Adrian Chadd
.. so with say, 128 core boxes showing up, is this really a good default? -a On 9 January 2014 07:55, Alexander Motin m...@freebsd.org wrote: Author: mav Date: Thu Jan 9 15:55:55 2014 New Revision: 260486 URL: http://svnweb.freebsd.org/changeset/base/260486 Log: Remove very low

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Alexander Motin
On 09.01.2014 17:57, Adrian Chadd wrote: .. so with say, 128 core boxes showing up, is this really a good default? And what is the price? 16K+ of KVA per thread for thread stack, etc? 4 threads is probably much worse default there. May be nfsd's default could be tuned, but obviously it

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Adrian Chadd
Hi, Depends if you're thinking locally or globally. Locally - for nfs? not a big deal. Globally - NFS, ZFS, GELI, geom/cam, NIC, etc.. suddenly your machine could default to having a couple thousand worker threads just for a HBA and a 10GE NIC. That's a little nuts. -a On 9 January 2014

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Alexander Motin
On 09.01.2014 18:18, Adrian Chadd wrote: Depends if you're thinking locally or globally. Locally - for nfs? not a big deal. Globally - NFS, ZFS, GELI, geom/cam, NIC, etc.. suddenly your machine could default to having a couple thousand worker threads just for a HBA and a 10GE NIC. That's a

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Adrian Chadd
If it's one request per nfsd then we should likely scale it separate to ncpu. Otherwise the default for two or core boxes may not be enough. Adrian On Jan 9, 2014 11:29 AM, Alexander Motin m...@freebsd.org wrote: On 09.01.2014 18:18, Adrian Chadd wrote: Depends if you're thinking locally or

svn commit: r260488 - head/sys/net

2014-01-09 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Jan 9 18:13:25 2014 New Revision: 260488 URL: http://svnweb.freebsd.org/changeset/base/260488 Log: Split rt_newaddrmsg_fib() into two different functions. Adding/deleting interface addresses involves access to 3 different subsystems, int different parts of code.

svn commit: r260489 - in stable/10/sys: conf dev/spibus

2014-01-09 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jan 9 18:28:58 2014 New Revision: 260489 URL: http://svnweb.freebsd.org/changeset/base/260489 Log: MFC r257064: Add an OFW SPI compatible bus. Fix the spibus probe to return BUS_PROBE_GENERIC and not BUS_PROBE_SPECIFIC (0) so the OFW SPI bus can attach when

svn commit: r260490 - head/sys/arm/arm

2014-01-09 Thread Ian Lepore
Author: ian Date: Thu Jan 9 18:51:57 2014 New Revision: 260490 URL: http://svnweb.freebsd.org/changeset/base/260490 Log: Add a function to print the contents of the static device mapping table, and invoke it for bootverbose logging, and also from a new DDB command, show devmap. Also tweak

svn commit: r260491 - head/contrib/atf/atf-c++/detail

2014-01-09 Thread Julio Merino
Author: jmmv Date: Thu Jan 9 18:53:21 2014 New Revision: 260491 URL: http://svnweb.freebsd.org/changeset/base/260491 Log: Use .cpp as the extension for temporary C++ files. Using a .c extension for a C++ file raises the following warning, which breaks our header file tests if the

svn commit: r260492 - head/sbin/geom/class/part

2014-01-09 Thread Lars Engels
Author: lme (ports committer) Date: Thu Jan 9 20:06:14 2014 New Revision: 260492 URL: http://svnweb.freebsd.org/changeset/base/260492 Log: Check if the given argument to 'gpart add' is actually a geom device and give a hint to use 'gpart create' before trying to add a partition.

Re: svn commit: r260485 - head/sys/netinet6

2014-01-09 Thread John-Mark Gurney
Andrey V. Elsukov wrote this message on Thu, Jan 09, 2014 at 15:38 +: Author: ae Date: Thu Jan 9 15:38:28 2014 New Revision: 260485 URL: http://svnweb.freebsd.org/changeset/base/260485 Log: Remove extra nesting from X_ip6_mforward() function. Also remove disabled definitions from

svn commit: r260493 - head/sys/arm/include

2014-01-09 Thread Ian Lepore
Author: ian Date: Thu Jan 9 20:57:19 2014 New Revision: 260493 URL: http://svnweb.freebsd.org/changeset/base/260493 Log: Add a prototype for the new arm_devmap_print_table(). This should have been part of r260490. Modified: head/sys/arm/include/devmap.h Modified:

svn commit: r260494 - head/sys/conf

2014-01-09 Thread Dimitry Andric
Author: dim Date: Thu Jan 9 22:16:30 2014 New Revision: 260494 URL: http://svnweb.freebsd.org/changeset/base/260494 Log: Fix a braino with r259730: we cannot currently use CFLAGS.gcc or CFLAGS.clang in sys/conf/Makefile.arm, since the main kernel build does not use bsd.sys.mk. So revert

Re: svn commit: r259730 - in head: gnu/lib/csu gnu/lib/libgcc gnu/lib/libstdc++ gnu/lib/libsupc++ lib/atf/libatf-c/tests share/mk sys/conf tools/tools/ath/athstats tools/tools/net80211/wlanstats usr.b

2014-01-09 Thread Dimitry Andric
On 09 Jan 2014, at 16:02, Ian Lepore i...@freebsd.org wrote: ... At r259730: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions

svn commit: r260495 - in stable: 10/share/mk 10/sys/conf 10/sys/modules/drm2/radeonkms 10/sys/modules/ibcore 10/sys/modules/ipoib 10/sys/modules/mlx4 10/sys/modules/mlx4ib 10/sys/modules/mlxen 10/s...

2014-01-09 Thread Dimitry Andric
Author: dim Date: Thu Jan 9 22:40:51 2014 New Revision: 260495 URL: http://svnweb.freebsd.org/changeset/base/260495 Log: MFC r260102: Similar to r260020, only use -fms-extensions with gcc, for all other modules which require this flag to compile. Use a GCC_MS_EXTENSIONS variable,

svn commit: r260495 - in stable: 10/share/mk 10/sys/conf 10/sys/modules/drm2/radeonkms 10/sys/modules/ibcore 10/sys/modules/ipoib 10/sys/modules/mlx4 10/sys/modules/mlx4ib 10/sys/modules/mlxen 10/s...

2014-01-09 Thread Dimitry Andric
Author: dim Date: Thu Jan 9 22:40:51 2014 New Revision: 260495 URL: http://svnweb.freebsd.org/changeset/base/260495 Log: MFC r260102: Similar to r260020, only use -fms-extensions with gcc, for all other modules which require this flag to compile. Use a GCC_MS_EXTENSIONS variable,

svn commit: r260496 - head/sys/netinet6

2014-01-09 Thread John-Mark Gurney
Author: jmg Date: Thu Jan 9 22:41:18 2014 New Revision: 260496 URL: http://svnweb.freebsd.org/changeset/base/260496 Log: revert part of r260485 which changes how part of the header gets included.. netstat uses -DKERNEL=1 to get these parts and breaks the build w/o it... melifaro@

svn commit: r260497 - in stable: 10/lib/libiconv 10/lib/libiconv_modules/BIG5 10/lib/libiconv_modules/EUC 10/lib/libiconv_modules/EUCTW 10/lib/libiconv_modules/GBK2K 10/lib/libiconv_modules/ISO2022...

2014-01-09 Thread Dimitry Andric
Author: dim Date: Thu Jan 9 23:08:56 2014 New Revision: 260497 URL: http://svnweb.freebsd.org/changeset/base/260497 Log: MFC r260334: Split the last gcc-specific flags off into CFLAGS.gcc. This also removes the need to use -Qunused-arguments for clang throughout the tree. MFC

Re: svn commit: r260494 - head/sys/conf

2014-01-09 Thread Ian Lepore
On Thu, 2014-01-09 at 22:16 +, Dimitry Andric wrote: Author: dim Date: Thu Jan 9 22:16:30 2014 New Revision: 260494 URL: http://svnweb.freebsd.org/changeset/base/260494 Log: Fix a braino with r259730: we cannot currently use CFLAGS.gcc or CFLAGS.clang in sys/conf/Makefile.arm,

svn commit: r260498 - stable/10/contrib/diff/man

2014-01-09 Thread Warren Block
Author: wblock (doc committer) Date: Thu Jan 9 23:51:47 2014 New Revision: 260498 URL: http://svnweb.freebsd.org/changeset/base/260498 Log: MFC r260358 Fix a cut and paste error. Modified: stable/10/contrib/diff/man/diff3.1 Directory Properties: stable/10/ (props changed)

svn commit: r260499 - stable/9/contrib/diff/man

2014-01-09 Thread Warren Block
Author: wblock (doc committer) Date: Thu Jan 9 23:52:55 2014 New Revision: 260499 URL: http://svnweb.freebsd.org/changeset/base/260499 Log: MFC r260358 Fix a cut and paste error. Modified: stable/9/contrib/diff/man/diff3.1 Directory Properties: stable/9/contrib/diff/ (props

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Daniel O'Connor
On 10 Jan 2014, at 2:48, Adrian Chadd adr...@freebsd.org wrote: Depends if you're thinking locally or globally. Locally - for nfs? not a big deal. Globally - NFS, ZFS, GELI, geom/cam, NIC, etc.. suddenly your machine could default to having a couple thousand worker threads just for a HBA

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Alexander Kabaev
On Thu, 09 Jan 2014 18:29:11 +0200 Alexander Motin m...@freebsd.org wrote: On 09.01.2014 18:18, Adrian Chadd wrote: Depends if you're thinking locally or globally. Locally - for nfs? not a big deal. Globally - NFS, ZFS, GELI, geom/cam, NIC, etc.. suddenly your machine could default

svn commit: r260501 - head/sys/dev/usb/wlan

2014-01-09 Thread Kevin Lo
Author: kevlo Date: Fri Jan 10 02:47:20 2014 New Revision: 260501 URL: http://svnweb.freebsd.org/changeset/base/260501 Log: Use m_getcl() instead of MGETHDR/MCLGET macros. Suggested by: glebius Modified: head/sys/dev/usb/wlan/if_rsu.c Modified: head/sys/dev/usb/wlan/if_rsu.c

Re: svn commit: r260463 - head/sys/dev/usb/wlan

2014-01-09 Thread Kevin Lo
On 2014/01/09 16:55, Gleb Smirnoff wrote: On Thu, Jan 09, 2014 at 01:48:34AM +, Kevin Lo wrote: K Author: kevlo K Date: Thu Jan 9 01:48:33 2014 K New Revision: 260463 K URL: http://svnweb.freebsd.org/changeset/base/260463 K K Log: K Replace deprecated M_DONTWAIT with M_NOWAIT. K K

Re: svn commit: r259730 - in head: gnu/lib/csu gnu/lib/libgcc gnu/lib/libstdc++ gnu/lib/libsupc++ lib/atf/libatf-c/tests share/mk sys/conf tools/tools/ath/athstats tools/tools/net80211/wlanstats usr.b

2014-01-09 Thread Bruce Evans
On Thu, 9 Jan 2014, Dimitry Andric wrote: On 09 Jan 2014, at 16:02, Ian Lepore i...@freebsd.org wrote: ... At r259730: cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef

Re: svn commit: r260486 - head/etc/defaults

2014-01-09 Thread Attila Nagy
We have 2 and 4 hw.ncpu NFS servers with 70+ disks, so there may be cases, where even the default maximum of 256 threads is not enough to feed the -otherwise slow- disks. I guess the real solution here is to change the nfsd worker model to async. (adapting to top poster) On 01/09/14 18:14,

svn commit: r260502 - in stable/10: sbin/geom/class/mirror sys/geom/mirror

2014-01-09 Thread Andrey V. Elsukov
Author: ae Date: Fri Jan 10 07:43:40 2014 New Revision: 260502 URL: http://svnweb.freebsd.org/changeset/base/260502 Log: MFC r258357: Add resize verb to gmirror(8) and such functionality to geom_mirror(4). Now it is easy to expand the size of the mirror when all its components are

svn commit: r260503 - in stable/10: sbin/geom/class/mirror sys/geom/mirror

2014-01-09 Thread Andrey V. Elsukov
Author: ae Date: Fri Jan 10 07:48:36 2014 New Revision: 260503 URL: http://svnweb.freebsd.org/changeset/base/260503 Log: MFC r259634: Prevent users from deactivating the last component of a mirror. MFC r259929: Add an ability to stop gmirror and clear its metadata in one command.