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

2014-07-28 Thread Xin LI
Author: delphij Date: Tue Jul 29 06:57:13 2014 New Revision: 269222 URL: http://svnweb.freebsd.org/changeset/base/269222 Log: Reschedule the 'deadman' callout after handling, this makes our code behave more like it is on Solaris. Reported by: avg Reviewed by: avg, mav (but bugs are mi

svn commit: r269221 - in stable: 8/libexec/save-entropy 9/libexec/save-entropy

2014-07-28 Thread Xin LI
Author: delphij Date: Tue Jul 29 06:00:48 2014 New Revision: 269221 URL: http://svnweb.freebsd.org/changeset/base/269221 Log: MFC r268979: Don't save entropy inside jails. As of r126744, we no longer feed the entropy device in jails upon start, and collecting them is no longer useful

svn commit: r269221 - in stable: 8/libexec/save-entropy 9/libexec/save-entropy

2014-07-28 Thread Xin LI
Author: delphij Date: Tue Jul 29 06:00:48 2014 New Revision: 269221 URL: http://svnweb.freebsd.org/changeset/base/269221 Log: MFC r268979: Don't save entropy inside jails. As of r126744, we no longer feed the entropy device in jails upon start, and collecting them is no longer useful

svn commit: r269220 - stable/10/libexec/save-entropy

2014-07-28 Thread Xin LI
Author: delphij Date: Tue Jul 29 06:00:16 2014 New Revision: 269220 URL: http://svnweb.freebsd.org/changeset/base/269220 Log: MFC r268979: Don't save entropy inside jails. As of r126744, we no longer feed the entropy device in jails upon start, and collecting them is no longer useful

svn commit: r269219 - in stable/10: cddl/contrib/opensolaris/cmd/zpool sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-07-28 Thread Xin LI
Author: delphij Date: Tue Jul 29 05:49:16 2014 New Revision: 269219 URL: http://svnweb.freebsd.org/changeset/base/269219 Log: MFC r268720: MFV r268714: Improve extreme rewind import. When doing an "extreme rewind" import ("zpool import -XF"), we attempt to verify all data in the pool

svn commit: r269218 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-07-28 Thread Xin LI
Author: delphij Date: Tue Jul 29 05:41:54 2014 New Revision: 269218 URL: http://svnweb.freebsd.org/changeset/base/269218 Log: MFC r268713: MFV r268702: Add missing *_destroy() calls in various places with ZFS. Illumos issue: 4975 missing mutex_destroy() calls in zfs Modified: st

Re: svn commit: r267937 - in head: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/json cddl/contrib/opensolaris/cmd/dtrace/test/tst/common

2014-07-28 Thread John Baldwin
On Thursday 26 June 2014 21:45:49 Rui Paulo wrote: > Author: rpaulo > Date: Thu Jun 26 21:45:49 2014 > New Revision: 267937 > URL: http://svnweb.freebsd.org/changeset/base/267937 > > Log: > MFV illumos > > 4477 DTrace should speak JSON > > MFC after: 2 weeks This makes kernel builds depe

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:38:02 2014 New Revision: 269217 URL: http://svnweb.freebsd.org/changeset/base/269217 Log: Export some new busdma stats via sysctl for armv6. Added: hw.busdma.tags_total: 46 hw.busdma.maps_total: 1302 hw.busdma.maps_dmamem: 851 hw.busdma.maps_cohere

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:37:31 2014 New Revision: 269215 URL: http://svnweb.freebsd.org/changeset/base/269215 Log: We never need bounce pages for memory we allocate. We cleverly allocate memory the matches all the constraints of the dma tag so that bouncing will never be required.

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:37:24 2014 New Revision: 269214 URL: http://svnweb.freebsd.org/changeset/base/269214 Log: Replace a bunch of double-indirection with a local pointer var (that is, (*mapp)->something becomes map->something). No functional changes. Reviewed by: cognet Modi

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:37:48 2014 New Revision: 269216 URL: http://svnweb.freebsd.org/changeset/base/269216 Log: A while back, the array of segments used for a load/mapping operation was moved from the stack into the tag structure. In retrospect that was a bad idea, because nothing

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:36:50 2014 New Revision: 269213 URL: http://svnweb.freebsd.org/changeset/base/269213 Log: Don't clear the DMAMAP_DMAMEM_ALLOC flag set a few lines earlier. Doh! Reviewed by: cognet Modified: head/sys/arm/arm/busdma_machdep-v6.c Modified: head/sys/arm/ar

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:36:41 2014 New Revision: 269212 URL: http://svnweb.freebsd.org/changeset/base/269212 Log: Memory belonging to an mbuf, or allocated by bus_dmamem_alloc(), never triggers a need to bounce due to cacheline alignment. These buffers are always aligned to cachelin

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:36:27 2014 New Revision: 269211 URL: http://svnweb.freebsd.org/changeset/base/269211 Log: The run_filter() function doesn't just run dma tag exclusion filter functions, it has evolved to make a variety of decisions about whether the DMA needs to bounce, so ren

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:36:02 2014 New Revision: 269209 URL: http://svnweb.freebsd.org/changeset/base/269209 Log: Reformat some continuation lines. No functional changes. Reviewed by: cognet Modified: head/sys/arm/arm/busdma_machdep-v6.c Modified: head/sys/arm/arm/busdma_machd

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:36:09 2014 New Revision: 269210 URL: http://svnweb.freebsd.org/changeset/base/269210 Log: Propagate any alignment restriction from the parent tag to a new tag, keeping the more restrictive of the two values. Reviewed by: cognet Modified: head/sys/arm/ar

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:35:44 2014 New Revision: 269208 URL: http://svnweb.freebsd.org/changeset/base/269208 Log: Correct the comparison logic when looking for intersections between exclusion zones and phsyical memory. The phys_avail[i] entries are the address of the first byte of r

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:34:32 2014 New Revision: 269207 URL: http://svnweb.freebsd.org/changeset/base/269207 Log: The exclusion_bounce() routine compares unchanging values in the tag with unchanging values in the phys_avail array, so do the comparisons just once at tag creation time

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:31:29 2014 New Revision: 269206 URL: http://svnweb.freebsd.org/changeset/base/269206 Log: Rename _bus_dma_can_bounce(), add new inline routines. DMA on arm can bounce for several reasons, and _bus_dma_can_bounce() only checks for the lowaddr/highaddr exclus

svn commit: r269205 - head/sys/kern

2014-07-28 Thread Konstantin Belousov
Author: kib Date: Tue Jul 29 01:46:31 2014 New Revision: 269205 URL: http://svnweb.freebsd.org/changeset/base/269205 Log: Simplify the expression, by removing redundand calculation. Noted by: "O'Connor, Daniel" MFC after:3 days Modified: head/sys/kern/kern_proc.c Modified: he

svn commit: r269204 - head/lib/libc/gen

2014-07-28 Thread John Baldwin
Author: jhb Date: Tue Jul 29 00:16:33 2014 New Revision: 269204 URL: http://svnweb.freebsd.org/changeset/base/269204 Log: If telldir() is called immediately after a call to seekdir(), POSIX requires the return value of telldir() to equal the value passed to seekdir(). The current seekdir co

svn commit: r269203 - head/share/mk

2014-07-28 Thread Simon J. Gerraty
Author: sjg Date: Mon Jul 28 23:36:21 2014 New Revision: 269203 URL: http://svnweb.freebsd.org/changeset/base/269203 Log: We do not ever want _srcconf_included_ as MAIN target. Modified: head/share/mk/src.sys.mk Modified: head/share/mk/src.sys.mk =

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

2014-07-28 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Jul 28 22:25:27 2014 New Revision: 269202 URL: http://svnweb.freebsd.org/changeset/base/269202 Log: MFC r269088: Fix ctl(4) kldload failure that manifested like this: link_elf_obj: symbol icl_pdu_new_bhs undefined PR: 192031 Submitted by: Nils B

svn commit: r269201 - head/sys/dev/i40e

2014-07-28 Thread Jack F Vogel
Author: jfv Date: Mon Jul 28 22:23:49 2014 New Revision: 269201 URL: http://svnweb.freebsd.org/changeset/base/269201 Log: Add new README to the driver... Added: head/sys/dev/i40e/README (contents, props changed) Added: head/sys/dev/i40e/README ==

svn commit: r269198 - in head/sys: dev/i40e modules/i40e

2014-07-28 Thread Jack F Vogel
Author: jfv Date: Mon Jul 28 21:57:09 2014 New Revision: 269198 URL: http://svnweb.freebsd.org/changeset/base/269198 Log: Update the new 40G XL710 driver to Release version 1.0.0 Modified: head/sys/dev/i40e/i40e.h head/sys/dev/i40e/i40e_adminq.c head/sys/dev/i40e/i40e_adminq.h head/sys/

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

2014-07-28 Thread Adrian Chadd
On 28 July 2014 14:05, Hans Petter Selasky wrote: > On 07/28/14 22:52, Adrian Chadd wrote: >> >> The whole rate control thing from net80211 has to be upgraded. Drivers >> shouldn't be using ni->ni_txrate for anything other than informational >> purposes, yet .. well, that's not the case. > > > Hi,

svn commit: r269197 - head/sys/dev/iscsi

2014-07-28 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Jul 28 21:14:41 2014 New Revision: 269197 URL: http://svnweb.freebsd.org/changeset/base/269197 Log: Fix potential double free that could happen after connection error. MFC after:3 days Modified: head/sys/dev/iscsi/icl.c Modified: head/sys/dev/iscsi/icl.c

svn commit: r269196 - stable/10/sys/dev/e1000

2014-07-28 Thread Jack F Vogel
Author: jfv Date: Mon Jul 28 21:11:18 2014 New Revision: 269196 URL: http://svnweb.freebsd.org/changeset/base/269196 Log: MFC of R267935: Sync the E1000 shared code to Intel internal, and more importantly add new I218 adapter support to em. Modified: stable/10/sys/dev/e1000/e1

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

2014-07-28 Thread Hans Petter Selasky
On 07/28/14 22:52, Adrian Chadd wrote: The whole rate control thing from net80211 has to be upgraded. Drivers shouldn't be using ni->ni_txrate for anything other than informational purposes, yet .. well, that's not the case. Hi, Should the rate be extracted from the NET80211 header instead, an

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

2014-07-28 Thread Adrian Chadd
On 28 July 2014 13:50, Hans Petter Selasky wrote: > On 07/27/14 22:15, Adrian Chadd wrote: >> >> Ok. So, which one of those is showing up as 0? > > > Hi, > > I think it is the last one. I cannot test this again until later this year, > because I don't have access to the AP which is causing this :-

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

2014-07-28 Thread Hans Petter Selasky
On 07/27/14 22:15, Adrian Chadd wrote: Ok. So, which one of those is showing up as 0? Hi, I think it is the last one. I cannot test this again until later this year, because I don't have access to the AP which is causing this :-( Is it possible you can add a function to the net80211 stack,

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

2014-07-28 Thread Aleksandr Rybalko
Author: ray Date: Mon Jul 28 14:41:22 2014 New Revision: 269194 URL: http://svnweb.freebsd.org/changeset/base/269194 Log: Revise font initialization handling. MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/vt_core.c Modified: head/sys/dev/vt/vt_cor

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

2014-07-28 Thread Stefan Farfeleder
On Mon, Jul 28, 2014 at 02:22:34PM +, Aleksandr Rybalko wrote: > Author: ray > Date: Mon Jul 28 14:22:34 2014 > New Revision: 269188 > URL: http://svnweb.freebsd.org/changeset/base/269188 > > Log: > Avoid embedding buffers into static virtual terminal window. > > MFC after: 1 week >

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

2014-07-28 Thread Aleksandr Rybalko
Author: ray Date: Mon Jul 28 14:37:59 2014 New Revision: 269193 URL: http://svnweb.freebsd.org/changeset/base/269193 Log: Update comments. MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/vt_core.c Modified: head/sys/dev/vt/vt_core.c

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

2014-07-28 Thread Aleksandr Rybalko
Author: ray Date: Mon Jul 28 14:35:21 2014 New Revision: 269192 URL: http://svnweb.freebsd.org/changeset/base/269192 Log: Remove special handling of console window size. It's done in vt_upgrade() for all windows. MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: hea

svn commit: r269191 - head/usr.sbin/ctld

2014-07-28 Thread Alexander Motin
Author: mav Date: Mon Jul 28 14:32:20 2014 New Revision: 269191 URL: http://svnweb.freebsd.org/changeset/base/269191 Log: Fix r269183 build woth GCC. MFC after:2 weeks Modified: head/usr.sbin/ctld/ctld.c Modified: head/usr.sbin/ctld/ctld.c ===

Re: svn commit: r269120 - head/usr.sbin/kbdcontrol

2014-07-28 Thread Ed Maste
On 26 July 2014 09:14, Stefan Esser wrote: > Author: se > Date: Sat Jul 26 13:14:28 2014 > New Revision: 269120 > URL: http://svnweb.freebsd.org/changeset/base/269120 > > Log: > The previous commit (r269119) introduced a regression: It removed the > ability to specify the the full path name of

svn commit: r269190 - in head/sys: dev/md kern

2014-07-28 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 14:27:05 2014 New Revision: 269190 URL: http://svnweb.freebsd.org/changeset/base/269190 Log: For md(4), posix shm(3) and tmpfs(5), free swap space used by paged in dirty page, which is written by the process. Reviewed by: alc Tested by:pho Sponsored b

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

2014-07-28 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 14:24:18 2014 New Revision: 269189 URL: http://svnweb.freebsd.org/changeset/base/269189 Log: Initialize zfs vnode v_hash when the vnode is allocated, instead of postponing it to zfs_vget(). zfs_root() returned vnode with the default value of v_hash, which caused

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

2014-07-28 Thread Aleksandr Rybalko
Author: ray Date: Mon Jul 28 14:22:34 2014 New Revision: 269188 URL: http://svnweb.freebsd.org/changeset/base/269188 Log: Avoid embedding buffers into static virtual terminal window. MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/vt_core.c Modified

svn commit: r269187 - head/sys/fs/nullfs

2014-07-28 Thread Konstantin Belousov
Author: kib Date: Mon Jul 28 14:20:31 2014 New Revision: 269187 URL: http://svnweb.freebsd.org/changeset/base/269187 Log: Assert that nullfs vnode has VV_ROOT set whenever lower vnode has. Assert that dotdot lookup on the root vnode is not performed. Sponsored by: The FreeBSD Foundation

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

2014-07-28 Thread Aleksandr Rybalko
Author: ray Date: Mon Jul 28 14:15:41 2014 New Revision: 269186 URL: http://svnweb.freebsd.org/changeset/base/269186 Log: o Remove useless debug string. o Fix indent. MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/vt_core.c Modified: head/sys/dev

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

2014-07-28 Thread Aleksandr Rybalko
Author: ray Date: Mon Jul 28 14:14:33 2014 New Revision: 269185 URL: http://svnweb.freebsd.org/changeset/base/269185 Log: Remove unused macro VT_CONSDEV_DECLARE. Join console device now declared in one place. MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/s

svn commit: r269184 - head/sys/x86/acpica

2014-07-28 Thread Shunsuke Akiyama
Author: akiyama Date: Mon Jul 28 13:47:02 2014 New Revision: 269184 URL: http://svnweb.freebsd.org/changeset/base/269184 Log: Add missing newline to output dmesg properly. Modified: head/sys/x86/acpica/madt.c Modified: head/sys/x86/acpica/madt.c ==

Re: svn commit: r269180 - head/sbin/ping6

2014-07-28 Thread Bruce Evans
On Mon, 28 Jul 2014, Xin LI wrote: Log: When interval is set to very small value with limited amount of packets, ping6(8) would quit before the remote side gets a chance to respond. Solve this by resetting the itimer when we have reached the maximum packet number have reached, but let the o

svn commit: r269183 - head/usr.sbin/ctld

2014-07-28 Thread Alexander Motin
Author: mav Date: Mon Jul 28 12:47:09 2014 New Revision: 269183 URL: http://svnweb.freebsd.org/changeset/base/269183 Log: Add netmasks support to initiator-portal option. MFC after:2 weeks Modified: head/usr.sbin/ctld/ctl.conf.5 head/usr.sbin/ctld/ctld.c head/usr.sbin/ctld/ctld.h

svn commit: r269182 - head/lib/libpmc

2014-07-28 Thread George V. Neville-Neil
Author: gnn Date: Mon Jul 28 10:17:41 2014 New Revision: 269182 URL: http://svnweb.freebsd.org/changeset/base/269182 Log: Update the list of cross references to include the more modern set of processors that we now support. Modified: head/lib/libpmc/pmc.3 Modified: head/lib/libpmc/pmc.3 ==

svn commit: r269181 - head

2014-07-28 Thread Antoine Brodin
Author: antoine Date: Mon Jul 28 10:01:23 2014 New Revision: 269181 URL: http://svnweb.freebsd.org/changeset/base/269181 Log: libsbuf.so.6 is no longer obsolete Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc =

svn commit: r269180 - head/sbin/ping6

2014-07-28 Thread Xin LI
Author: delphij Date: Mon Jul 28 08:22:08 2014 New Revision: 269180 URL: http://svnweb.freebsd.org/changeset/base/269180 Log: When interval is set to very small value with limited amount of packets, ping6(8) would quit before the remote side gets a chance to respond. Solve this by resetti

svn commit: r269179 - in head: lib/libsbuf sys/kern sys/sys

2014-07-28 Thread Pietro Cerutti
Author: gahr (ports committer) Date: Mon Jul 28 07:20:22 2014 New Revision: 269179 URL: http://svnweb.freebsd.org/changeset/base/269179 Log: Unbreak the ABI by reverting r268494 until the compat shims are provided Modified: head/lib/libsbuf/Makefile head/sys/kern/subr_sbuf.c head/sys/sys/