svn commit: r304336 - head/sys/dev/usb/net

2016-08-18 Thread Pyun YongHyeon
Author: yongari Date: Thu Aug 18 07:11:31 2016 New Revision: 304336 URL: https://svnweb.freebsd.org/changeset/base/304336 Log: When device is detached make sure to stop the controller and make it return zero-length USB packet. Modified: head/sys/dev/usb/net/if_axge.c Modified: head/sys/dev

Re: svn commit: r304176 - in head: include lib/libc/sys sys/compat/freebsd32 sys/kern

2016-08-18 Thread Konstantin Belousov
On Wed, Aug 17, 2016 at 10:20:40PM +0200, Jilles Tjoelker wrote: > On Mon, Aug 15, 2016 at 07:08:51PM +, Konstantin Belousov wrote: > > /* ISO/IEC 9945-1: 1996 */ > > #if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE > > int fsync(int); > > +int fdatasync(int); > > > > /* > >

svn commit: r304342 - head/sys/ofed/drivers/infiniband/core

2016-08-18 Thread Hans Petter Selasky
Author: hselasky Date: Thu Aug 18 08:49:02 2016 New Revision: 304342 URL: https://svnweb.freebsd.org/changeset/base/304342 Log: Add support for setting blocking and non-blocking mode on /dev/rdma_cm by returning success on FIONBIO and FIOASYNC IOCTLs. The actual flags handling is done by the

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Dag-Erling Smørgrav
Nathan Whitehorn writes: > OK. In which configurations? My Dell servers, for instance, don't do > this. How are they set up? What drivers are being used? Is this > something that affects passthrough disks, RAIDs, disk images? Most LSI MegaRAID controllers don't have real passthrough, only JBOD. Y

svn commit: r304374 - head/usr.bin/calendar/calendars/ru_RU.UTF-8

2016-08-18 Thread Andrey A. Chernov
Author: ache Date: Thu Aug 18 10:18:11 2016 New Revision: 304374 URL: https://svnweb.freebsd.org/changeset/base/304374 Log: Fix TAB replaced with spaces in prev. commit. Modified: head/usr.bin/calendar/calendars/ru_RU.UTF-8/calendar.pagan Modified: head/usr.bin/calendar/calendars/ru_RU.UTF-8

svn commit: r304378 - head/sys/netpfil/ipfw/nat64

2016-08-18 Thread Bjoern A. Zeeb
Author: bz Date: Thu Aug 18 10:26:15 2016 New Revision: 304378 URL: https://svnweb.freebsd.org/changeset/base/304378 Log: Try to fix gcc compilation errors (which are right). nat64_getlasthdr() returns an int, which can be -1 in case of error, storing the result in an uint8_t and then compar

svn commit: r304395 - in head: lib/libc/aarch64/sys lib/libc/amd64/sys lib/libc/arm/sys lib/libc/i386/sys lib/libc/mips/sys lib/libc/powerpc/sys lib/libc/powerpc64/sys lib/libc/riscv/sys lib/libc/s...

2016-08-18 Thread George V. Neville-Neil
Author: gnn Date: Thu Aug 18 10:50:40 2016 New Revision: 304395 URL: https://svnweb.freebsd.org/changeset/base/304395 Log: Remove unusedd and obsolete openbsd_poll system call. (Phase 1) Reported by: brooks Reviewed by: brooks,jhb Differential Revision:https://reviews.freebsd

svn commit: r304402 - in head: . sys/compat/freebsd32 sys/kern sys/sys

2016-08-18 Thread George V. Neville-Neil
2016(r304401) +++ head/UPDATING Thu Aug 18 10:54:39 2016(r304402) @@ -31,6 +31,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +2016

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Allan Jude
On 08/18/16 05:50 AM, Dag-Erling Smørgrav wrote: > Nathan Whitehorn writes: >> OK. In which configurations? My Dell servers, for instance, don't do >> this. How are they set up? What drivers are being used? Is this >> something that affects passthrough disks, RAIDs, disk images? > > Most LSI Mega

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Slawa Olhovchenkov
On Thu, Aug 18, 2016 at 08:56:55AM -0400, Allan Jude wrote: > A) If stripesize == 0, use some sane value like 4096 > > B) Some other combination that uses the reported stripe size, unless it > is 0, in which case it uses 4096 (or some other value controlled by a > different new sysctl) > > C) cr

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Nathan Whitehorn
On 08/18/16 02:50, Dag-Erling Smørgrav wrote: Nathan Whitehorn writes: OK. In which configurations? My Dell servers, for instance, don't do this. How are they set up? What drivers are being used? Is this something that affects passthrough disks, RAIDs, disk images? Most LSI MegaRAID controll

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Dag-Erling Smørgrav
Nathan Whitehorn writes: > We have a mechanism (GEOM stripe size) for drivers to supply a default > alignment to userland. If we think we can get that right, great. If we > don't think we can get it right, the default system policy in the > absence of real information from drivers should be modifi

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Nathan Whitehorn
On 08/18/16 05:56, Allan Jude wrote: On 08/18/16 05:50 AM, Dag-Erling Smørgrav wrote: Nathan Whitehorn writes: OK. In which configurations? My Dell servers, for instance, don't do this. How are they set up? What drivers are being used? Is this something that affects passthrough disks, RAIDs,

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

2016-08-18 Thread Ed Maste
Author: emaste Date: Thu Aug 18 16:22:40 2016 New Revision: 304430 URL: https://svnweb.freebsd.org/changeset/base/304430 Log: vt: fix old keyboard release in CONS_SETKBD On the first switch we previously released the newly allocated keyboard instead of the old one. Keyboard state was very

Re: svn commit: r304326 - head/sys/dev/usb/net

2016-08-18 Thread Bjoern A. Zeeb
On 18 Aug 2016, at 5:07, Pyun YongHyeon wrote: Author: yongari Date: Thu Aug 18 05:07:02 2016 New Revision: 304326 URL: https://svnweb.freebsd.org/changeset/base/304326 Log: Switch to TX header format rather than directly manipulating header structures. This simplifies mbuf copy operation

svn commit: r304431 - head/cddl/contrib/opensolaris/cmd/dtrace

2016-08-18 Thread Mark Johnston
Author: markj Date: Thu Aug 18 17:27:58 2016 New Revision: 304431 URL: https://svnweb.freebsd.org/changeset/base/304431 Log: Add a SIGINFO handler for dtrace(1). Have it print the contents of aggregations, if any. Otherwise, one needs to kill the running script to view the collected data,

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Nathan Whitehorn
On 08/18/16 08:12, Dag-Erling Smørgrav wrote: Nathan Whitehorn writes: We have a mechanism (GEOM stripe size) for drivers to supply a default alignment to userland. If we think we can get that right, great. If we don't think we can get it right, the default system policy in the absence of rea

Re: svn commit: r304176 - in head: include lib/libc/sys sys/compat/freebsd32 sys/kern

2016-08-18 Thread Jilles Tjoelker
On Thu, Aug 18, 2016 at 10:53:16AM +0300, Konstantin Belousov wrote: > On Wed, Aug 17, 2016 at 10:20:40PM +0200, Jilles Tjoelker wrote: > > On Mon, Aug 15, 2016 at 07:08:51PM +, Konstantin Belousov wrote: > > > /* ISO/IEC 9945-1: 1996 */ > > > #if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE >

svn commit: r304435 - head/sys/netinet

2016-08-18 Thread Ryan Stone
Author: rstone Date: Thu Aug 18 22:59:00 2016 New Revision: 304435 URL: https://svnweb.freebsd.org/changeset/base/304435 Log: Don't iterate over the ifnet addr list in ip_output() For almost every packet that is transmitted through ip_output(), a call to in_broadcast() was made to decide

svn commit: r304436 - in head: . sys/netinet

2016-08-18 Thread Ryan Stone
d/UPDATING == --- head/UPDATING Thu Aug 18 22:59:00 2016(r304435) +++ head/UPDATING Thu Aug 18 22:59:05 2016(r304436) @@ -32,6 +32,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 "ln -s 'abort:false,junk:false' /etc/m

svn commit: r304437 - head/sys/netinet

2016-08-18 Thread Ryan Stone
Author: rstone Date: Thu Aug 18 22:59:10 2016 New Revision: 304437 URL: https://svnweb.freebsd.org/changeset/base/304437 Log: Fix unlocked access to ifnet address list in_broadcast() was iterating over the ifnet address list without first taking an IF_ADDR_RLOCK. This could cause a panic

svn commit: r304438 - head/sbin/fsck_ffs

2016-08-18 Thread Kirk McKusick
Author: mckusick Date: Fri Aug 19 00:03:41 2016 New Revision: 304438 URL: https://svnweb.freebsd.org/changeset/base/304438 Log: Fsck_ufs was using an int rather than a ufs2_daddr_t to store the alternate superblock location when given in the -b option. When int is 32-bits, block numbers larg

svn commit: r304439 - head/sys/dev/usb/net

2016-08-18 Thread Pyun YongHyeon
Author: yongari Date: Fri Aug 19 00:50:32 2016 New Revision: 304439 URL: https://svnweb.freebsd.org/changeset/base/304439 Log: Fix build on big-endian systems. Reported by: bz Modified: head/sys/dev/usb/net/if_axgereg.h Modified: head/sys/dev/usb/net/if_axgereg.h ==

Re: svn commit: r304326 - head/sys/dev/usb/net

2016-08-18 Thread YongHyeon PYUN
On Thu, Aug 18, 2016 at 04:44:29PM +, Bjoern A. Zeeb wrote: > On 18 Aug 2016, at 5:07, Pyun YongHyeon wrote: > > >Author: yongari > >Date: Thu Aug 18 05:07:02 2016 > >New Revision: 304326 > >URL: https://svnweb.freebsd.org/changeset/base/304326 > > [...] > >+struct axge_frame_txhdr { > >+#if

svn commit: r304440 - head/sys/kern

2016-08-18 Thread Mark Johnston
Author: markj Date: Fri Aug 19 01:27:24 2016 New Revision: 304440 URL: https://svnweb.freebsd.org/changeset/base/304440 Log: Correct a check for P2_PTRACE_FSTP in ptracestop(). MFC after:1 day Modified: head/sys/kern/kern_sig.c Modified: head/sys/kern/kern_sig.c

Re: svn commit: r304187 - in head: . share/man/man4 sys/conf sys/dev/mcd sys/modules sys/modules/mcd

2016-08-18 Thread Warner Losh
On Thu, Aug 18, 2016 at 12:50 AM, Julian Elischer wrote: > On 16/08/2016 4:54 AM, John Baldwin wrote: >> >> On Monday, August 15, 2016 08:38:02 PM John Baldwin wrote: >>> >>> Author: jhb >>> Date: Mon Aug 15 20:38:02 2016 >>> New Revision: 304187 >>> URL: https://svnweb.freebsd.org/changeset/base/

svn commit: r304441 - head/sys/dev/hyperv/netvsc

2016-08-18 Thread Sepherosa Ziehau
Author: sephe Date: Fri Aug 19 03:32:04 2016 New Revision: 304441 URL: https://svnweb.freebsd.org/changeset/base/304441 Log: hyperv/hn: Move NVS version to softc MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7553 Modified: hea

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Warner Losh
On Thu, Aug 18, 2016 at 6:56 AM, Allan Jude wrote: > On 08/18/16 05:50 AM, Dag-Erling Smørgrav wrote: >> Nathan Whitehorn writes: >>> OK. In which configurations? My Dell servers, for instance, don't do >>> this. How are they set up? What drivers are being used? Is this >>> something that affects

svn commit: r304443 - head/sys/cam

2016-08-18 Thread Warner Losh
Author: imp Date: Fri Aug 19 04:30:29 2016 New Revision: 304443 URL: https://svnweb.freebsd.org/changeset/base/304443 Log: Improve the pattern matching so that internal *'s work, as well as [set] notation. This fixes pattern matching for recently added drives that would set the NCQ Trim bein

svn commit: r304444 - head/sys/dev/hyperv/netvsc

2016-08-18 Thread Sepherosa Ziehau
Author: sephe Date: Fri Aug 19 05:20:12 2016 New Revision: 30 URL: https://svnweb.freebsd.org/changeset/base/30 Log: hyperv/hn: Remove assign-only struct field MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7554 Modified:

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Nathan Whitehorn
On 08/18/16 21:15, Warner Losh wrote: On Thu, Aug 18, 2016 at 6:56 AM, Allan Jude wrote: On 08/18/16 05:50 AM, Dag-Erling Smørgrav wrote: Nathan Whitehorn writes: OK. In which configurations? My Dell servers, for instance, don't do this. How are they set up? What drivers are being used? Is

svn commit: r304446 - head/sys/dev/hyperv/netvsc

2016-08-18 Thread Sepherosa Ziehau
Author: sephe Date: Fri Aug 19 05:30:39 2016 New Revision: 304446 URL: https://svnweb.freebsd.org/changeset/base/304446 Log: hyperv/hn: Remove the useless num_channel MFC after:1 week Sponsored by: Microsoft Differential Revision:https://reviews.freebsd.org/D7555 Modified:

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Warner Losh
> On Aug 18, 2016, at 11:21 PM, Nathan Whitehorn wrote: > > > > On 08/18/16 21:15, Warner Losh wrote: >> On Thu, Aug 18, 2016 at 6:56 AM, Allan Jude wrote: >>> On 08/18/16 05:50 AM, Dag-Erling Smørgrav wrote: Nathan Whitehorn writes: > OK. In which configurations? My Dell servers, f

svn commit: r304447 - head/sys/dev/hyperv/netvsc

2016-08-18 Thread Sepherosa Ziehau
Author: sephe Date: Fri Aug 19 05:43:28 2016 New Revision: 304447 URL: https://svnweb.freebsd.org/changeset/base/304447 Log: hyperv/hn: Move RXBUF to hn_softc And don't recreate RXBUF for each primary channel open, it is now created in device_attach DEVMETHOD and destroyed in device_detac

Re: svn commit: r304436 - in head: . sys/netinet

2016-08-18 Thread Marko Zec
d/UPDATING Thu Aug 18 22:59:05 2016(r304436) > @@ -32,6 +32,14 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12 > "ln -s 'abort:false,junk:false' /etc/malloc.conf".) > > 20160818: > + The UDP receive code has been updated to only treat incoming &

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Dag-Erling Smørgrav
Nathan Whitehorn writes: > This is ridiculous. I've asked a series of technical questions about > generalizing a patch you made and that I think is a good idea. In > response, those questions have been met with a non-stop torrent of > insults and abuse instead of answers, with only one eventual nu

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Glen Barber
On Fri, Aug 19, 2016 at 08:21:49AM +0200, Dag-Erling Smørgrav wrote: > Nathan Whitehorn writes: > > This is ridiculous. I've asked a series of technical questions about > > generalizing a patch you made and that I think is a good idea. In > > response, those questions have been met with a non-stop

Re: svn commit: r304142 - head/usr.sbin/bsdinstall/partedit

2016-08-18 Thread Dag-Erling Smørgrav
Warner Losh writes: > Allan Jude writes: > > Which makes more sense: > > > > A) If stripesize == 0, use some sane value like 4096 > > I don't like this. > > > B) Some other combination that uses the reported stripe size, unless it > > is 0, in which case it uses 4096 (or some other value controll