svn commit: r272502 - in head/cddl/contrib/opensolaris: cmd/zpool lib/libzfs/common

2014-10-04 Thread Xin LI
Author: delphij Date: Sat Oct 4 07:56:50 2014 New Revision: 272502 URL: https://svnweb.freebsd.org/changeset/base/272502 Log: MFV r272493: Show individual disk capacity when doing zpool list -v. Illumos issue: 5147 zpool list -v should show individual disk capacity MFC afte

svn commit: r272503 - head/sys/sys

2014-10-04 Thread Mateusz Guzik
Author: mjg Date: Sat Oct 4 08:03:52 2014 New Revision: 272503 URL: https://svnweb.freebsd.org/changeset/base/272503 Log: Add sequence counters with memory barriers. Current implementation is somewhat simplistic and hackish, will be improved later after possible memory barrier overhaul.

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

2014-10-04 Thread Xin LI
Author: delphij Date: Sat Oct 4 08:05:39 2014 New Revision: 272504 URL: https://svnweb.freebsd.org/changeset/base/272504 Log: MFV r272494: Make space_map_truncate() always do space_map_reallocate(). Without this, setting space_map_max_blksz would cause panic for existing pool, as dmu_

svn commit: r272505 - in head/sys: kern sys

2014-10-04 Thread Mateusz Guzik
Author: mjg Date: Sat Oct 4 08:08:56 2014 New Revision: 272505 URL: https://svnweb.freebsd.org/changeset/base/272505 Log: Plug capability races. fp and appropriate capability lookups were not atomic, which could result in improper capabilities being checked. This could result either

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

2014-10-04 Thread Xin LI
Author: delphij Date: Sat Oct 4 08:14:10 2014 New Revision: 272506 URL: https://svnweb.freebsd.org/changeset/base/272506 Log: MFV r272495: In arc_kmem_reap_now(), reap range_seg_cache too to reclaim memory in response of memory pressure. Illumos issue: 5163 arc should reap ran

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

2014-10-04 Thread Xin LI
Author: delphij Date: Sat Oct 4 08:29:48 2014 New Revision: 272507 URL: https://svnweb.freebsd.org/changeset/base/272507 Log: MFV r272496: Add tunable for number of metaslabs per vdev (vfs.zfs.vdev.metaslabs_per_vdev). The default remains at 200. Illumos issue: 5161 add tun

svn commit: r272508 - head/tools/tools/ath/athalq

2014-10-04 Thread Adrian Chadd
Author: adrian Date: Sat Oct 4 08:32:15 2014 New Revision: 272508 URL: https://svnweb.freebsd.org/changeset/base/272508 Log: Add in decode for the AR9300 RX descriptor. Modified: head/tools/tools/ath/athalq/ar9300_ds.c Modified: head/tools/tools/ath/athalq/ar9300_ds.c ==

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

2014-10-04 Thread Xin LI
Author: delphij Date: Sat Oct 4 08:41:23 2014 New Revision: 272509 URL: https://svnweb.freebsd.org/changeset/base/272509 Log: Diff reduction with upstream. The code change is not really applicable to FreeBSD. Illumos issue: 5148 zvol's DKIOCFREE holds zfsdev_state_lock too long

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

2014-10-04 Thread Xin LI
Author: delphij Date: Sat Oct 4 08:51:57 2014 New Revision: 272510 URL: https://svnweb.freebsd.org/changeset/base/272510 Log: Add a new sysctl, vfs.zfs.vol.unmap_enabled, which allows the system administrator to toggle whether ZFS should ignore UNMAP requests. Illumos issue: 5149 z

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

2014-10-04 Thread Xin LI
Author: delphij Date: Sat Oct 4 08:55:08 2014 New Revision: 272511 URL: https://svnweb.freebsd.org/changeset/base/272511 Log: MFV r272499: Illumos issue: 5174 add sdt probe for blocked read in dbuf_read() MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/c

svn commit: r272512 - head/sys/fs/autofs

2014-10-04 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Oct 4 09:37:40 2014 New Revision: 272512 URL: https://svnweb.freebsd.org/changeset/base/272512 Log: Make autofs use shared vnode locks. Reviewed by: kib MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/fs/autofs/autofs.h head/s

svn commit: r272518 - head/sys/netpfil/ipfw

2014-10-04 Thread Alexander V. Chernikov
Author: melifaro Date: Sat Oct 4 12:46:26 2014 New Revision: 272518 URL: https://svnweb.freebsd.org/changeset/base/272518 Log: Bump max rule size to 512 opcodes. Modified: head/sys/netpfil/ipfw/ip_fw_sockopt.c Modified: head/sys/netpfil/ipfw/ip_fw_sockopt.c =

svn commit: r272519 - head/contrib/binutils/gas/config

2014-10-04 Thread Andrew Turner
Author: andrew Date: Sat Oct 4 13:14:37 2014 New Revision: 272519 URL: https://svnweb.freebsd.org/changeset/base/272519 Log: Add movw and movt relocations to the list of relocations against function names that must nnot be adjusted. This fixes a bug where code such as: movw r2, :lower16:sym

svn commit: r272523 - head/sys/sys

2014-10-04 Thread Bjoern A. Zeeb
Author: bz Date: Sat Oct 4 14:17:30 2014 New Revision: 272523 URL: https://svnweb.freebsd.org/changeset/base/272523 Log: Put and #ifdef _KERNEL around the #include for opt_capsicum.h to hopefully allow the build to finish after r272505. Modified: head/sys/sys/filedesc.h Modified: head/sys

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

2014-10-04 Thread Bjoern A. Zeeb
On 04 Oct 2014, at 08:08 , Mateusz Guzik wrote: > Author: mjg > Date: Sat Oct 4 08:08:56 2014 > New Revision: 272505 > URL: https://svnweb.freebsd.org/changeset/base/272505 > > Log: > Plug capability races. > > fp and appropriate capability lookups were not atomic, which could result in >

svn commit: r272524 - in head/contrib/binutils: bfd include/elf

2014-10-04 Thread Andrew Turner
Author: andrew Date: Sat Oct 4 14:30:16 2014 New Revision: 272524 URL: https://svnweb.freebsd.org/changeset/base/272524 Log: Silence a warning about Tag_Virtualization_use being unknown. We don't handle merging this tag correctly, however it's unused. Modified: head/contrib/binutils/bfd/el

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

2014-10-04 Thread Ian Lepore
On Sat, 2014-10-04 at 08:14 +, Xin LI wrote: > Author: delphij > Date: Sat Oct 4 08:14:10 2014 > New Revision: 272506 > URL: https://svnweb.freebsd.org/changeset/base/272506 > > Log: > MFV r272495: > > In arc_kmem_reap_now(), reap range_seg_cache too to reclaim memory in > response o

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

2014-10-04 Thread Steven Hartland
Does the attached patch fix this for your Ian? Regards Steve - Original Message - From: "Ian Lepore" To: "Xin LI" Cc: ; ; Sent: Saturday, October 04, 2014 3:32 PM Subject: Re: svn commit: r272506 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs On Sat, 2014-10-04 at 0

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

2014-10-04 Thread Xin LI
Author: delphij Date: Sat Oct 4 15:42:52 2014 New Revision: 272527 URL: https://svnweb.freebsd.org/changeset/base/272527 Log: Don't make nested definition for range_seg_cache. Reported by: ian MFC after:1 week X-MFC-With: r272506 Modified: head/sys/cddl/contrib/opensolaris/ut

svn commit: r272528 - in head/sys: kern sys

2014-10-04 Thread Ian Lepore
Author: ian Date: Sat Oct 4 15:59:15 2014 New Revision: 272528 URL: https://svnweb.freebsd.org/changeset/base/272528 Log: Make kevent(2) periodic timer events more reliably periodic. The event callout is now scheduled using the C_ABSOLUTE flag, and the absolute time of each event is calcul

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

2014-10-04 Thread Konstantin Belousov
On Sat, Oct 04, 2014 at 02:21:54PM +, Bjoern A. Zeeb wrote: > > On 04 Oct 2014, at 08:08 , Mateusz Guzik wrote: > > > Author: mjg > > Date: Sat Oct 4 08:08:56 2014 > > New Revision: 272505 > > URL: https://svnweb.freebsd.org/changeset/base/272505 > > > > Log: > > Plug capability races. >

svn commit: r272533 - head/lib/libc/stdtime

2014-10-04 Thread Pedro F. Giffuni
Author: pfg Date: Sat Oct 4 18:00:15 2014 New Revision: 272533 URL: https://svnweb.freebsd.org/changeset/base/272533 Log: Minor doc format fix. Submitted by: Yonghyeon PYUN Modified: head/lib/libc/stdtime/strptime.3 Modified: head/lib/libc/stdtime/strptime.3 ===

svn commit: r272534 - in head/sys: kern sys

2014-10-04 Thread Konstantin Belousov
Author: kib Date: Sat Oct 4 18:28:27 2014 New Revision: 272534 URL: https://svnweb.freebsd.org/changeset/base/272534 Log: Add IO_RANGELOCKED flag for vn_rdwr(9), which specifies that vnode is not locked, but range is. Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:

svn commit: r272535 - head/sys/kern

2014-10-04 Thread Konstantin Belousov
Author: kib Date: Sat Oct 4 18:35:00 2014 New Revision: 272535 URL: https://svnweb.freebsd.org/changeset/base/272535 Log: Fixes for i/o during coredumping: - Do not dump into system files. - Do not acquire write reference to the mount point where img.core is written, in the coredump().

svn commit: r272536 - in head/sys: conf kern sys vm

2014-10-04 Thread Konstantin Belousov
Author: kib Date: Sat Oct 4 18:38:14 2014 New Revision: 272536 URL: https://svnweb.freebsd.org/changeset/base/272536 Log: Add kernel option KSTACK_USAGE_PROF to sample the stack depth on interrupts and report the largest value seen as sysctl debug.max_kstack_used. Useful to estimate how cl

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

2014-10-04 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Oct 4 18:40:40 2014 New Revision: 272537 URL: https://svnweb.freebsd.org/changeset/base/272537 Log: vt(4): Don't recalculate buffer size if we don't know screen size When the screen size is unknown, it's set to 0x0. We can't use that as the buffer size, otherwi

svn commit: r272538 - head/sys/kern

2014-10-04 Thread Konstantin Belousov
Author: kib Date: Sat Oct 4 18:51:55 2014 New Revision: 272538 URL: https://svnweb.freebsd.org/changeset/base/272538 Log: Slightly reword comment. Move code, which is described by the comment, after it. Discussed with: bde Sponsored by: The FreeBSD Foundation MFC after:1 w

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

2014-10-04 Thread Bjoern A. Zeeb
On 04 Oct 2014, at 16:36 , Konstantin Belousov wrote: > On Sat, Oct 04, 2014 at 02:21:54PM +, Bjoern A. Zeeb wrote: >> >> On 04 Oct 2014, at 08:08 , Mateusz Guzik wrote: >> >>> Author: mjg >>> Date: Sat Oct 4 08:08:56 2014 >>> New Revision: 272505 >>> URL: https://svnweb.freebsd.org/chan

Re: svn commit: r271207 - head/sys/dev/ahci

2014-10-04 Thread Alexander V. Chernikov
On 06.09.2014 23:43, Alexander Motin wrote: > Author: mav > Date: Sat Sep 6 19:43:48 2014 > New Revision: 271207 > URL: http://svnweb.freebsd.org/changeset/base/271207 > > Log: > Save one register read (AHCI_IS) for AHCI controllers with only one port. > > For controllers with only one por

svn commit: r272544 - head/release/doc/en_US.ISO8859-1/hardware

2014-10-04 Thread Gavin Atkinson
Author: gavin Date: Sat Oct 4 23:56:25 2014 New Revision: 272544 URL: https://svnweb.freebsd.org/changeset/base/272544 Log: Include urndis(4) in list of devices for which we generate hardware notes. MFC after:3 days Modified: head/release/doc/en_US.ISO8859-1/hardware/article.xml Mo

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

2014-10-04 Thread Bruce Evans
On Sat, 4 Oct 2014, Bjoern A. Zeeb wrote: On 04 Oct 2014, at 08:08 , Mateusz Guzik wrote: ... Log: Plug capability races. ... This file is included from user space. There is no opt_capsicum.h there. Including an opt_* in the header file seems wrong in a lot of ways usually. I tried to add

svn commit: r272546 - in head/sys: kern sys

2014-10-04 Thread Mateusz Guzik
Author: mjg Date: Sun Oct 5 02:16:53 2014 New Revision: 272546 URL: https://svnweb.freebsd.org/changeset/base/272546 Log: Get rid of crshared. Modified: head/sys/kern/kern_prot.c head/sys/sys/ucred.h Modified: head/sys/kern/kern_prot.c =

svn commit: r272547 - head/sys/net

2014-10-04 Thread Hiroki Sato
Author: hrs Date: Sun Oct 5 02:34:21 2014 New Revision: 272547 URL: https://svnweb.freebsd.org/changeset/base/272547 Log: - Move L2 addr configuration for the primary port to a taskqueue. This fixes LOR of softc rmlock in iflladdr_event handlers. - Call if_delmulti_ifma() after LACP_U

svn commit: r272548 - in head: sbin/ifconfig sys/net

2014-10-04 Thread Hiroki Sato
Author: hrs Date: Sun Oct 5 02:37:01 2014 New Revision: 272548 URL: https://svnweb.freebsd.org/changeset/base/272548 Log: Use printb() for boolean flags in ro_opts and actor_state for LACP. Modified: head/sbin/ifconfig/iflagg.c head/sys/net/ieee8023ad_lacp.h Modified: head/sbin/ifconfig/i

svn commit: r272550 - head/sys/vm

2014-10-04 Thread Bryan Venteicher
Author: bryanv Date: Sun Oct 5 03:18:30 2014 New Revision: 272550 URL: https://svnweb.freebsd.org/changeset/base/272550 Log: Remove stray uma_mtx lock/unlock in zone_drain_wait() Callers of zone_drain_wait(M_WAITOK) do not need to hold (and were not) the uma_mtx, but we would attempt to

svn commit: r272551 - head/sys/contrib/ipfilter/netinet

2014-10-04 Thread Cy Schubert
Author: cy Date: Sun Oct 5 03:41:47 2014 New Revision: 272551 URL: https://svnweb.freebsd.org/changeset/base/272551 Log: ipfiler bug #550 filter rule list corrupted with inserted rules Obtained from:ipfilter CVS repo (r1.128); NetBSD CVS repo (r1.15) Modified: head/sys/contrib/i

svn commit: r272552 - head/sys/contrib/ipfilter/netinet

2014-10-04 Thread Cy Schubert
Author: cy Date: Sun Oct 5 03:45:19 2014 New Revision: 272552 URL: https://svnweb.freebsd.org/changeset/base/272552 Log: ipfilter bug #554 Determining why a ipf rule matches is hard -- replace ipfilter rule compare with new ipf_rule_compare() function. Obtained from:ipfilter CVS

svn commit: r272553 - head/sys/contrib/ipfilter/netinet

2014-10-04 Thread Cy Schubert
Author: cy Date: Sun Oct 5 03:48:09 2014 New Revision: 272553 URL: https://svnweb.freebsd.org/changeset/base/272553 Log: ipfilter bug #538 ipf_p_dns_del should return void Obtained from:ipfilter cvs repo (r1.8) Modified: head/sys/contrib/ipfilter/netinet/ip_dns_pxy.c Modified:

svn commit: r272554 - head/sys/contrib/ipfilter/netinet

2014-10-04 Thread Cy Schubert
Author: cy Date: Sun Oct 5 03:52:09 2014 New Revision: 272554 URL: https://svnweb.freebsd.org/changeset/base/272554 Log: ipfilter bug #534 destination list hashing not endian neutral Obtained from:ipfilter CVS repo (r1.26), NetBSD CVS repo (r1.8) Modified: head/sys/contrib/ipfil

svn commit: r272555 - head/sys/contrib/ipfilter/netinet

2014-10-04 Thread Cy Schubert
Author: cy Date: Sun Oct 5 03:58:30 2014 New Revision: 272555 URL: https://svnweb.freebsd.org/changeset/base/272555 Log: ipfilter bug #537 NAT rules with sticky have incorrect hostmap IP address. This fixes when an IP address mapping is put in the hostmap table for sticky NAT rules, it ends

svn commit: r272556 - head/sys/boot/common

2014-10-04 Thread Andrey V. Elsukov
Author: ae Date: Sun Oct 5 06:00:22 2014 New Revision: 272556 URL: https://svnweb.freebsd.org/changeset/base/272556 Log: Add a bit more debug messages. Modified: head/sys/boot/common/part.c Modified: head/sys/boot/common/part.c ===

svn commit: r272557 - in head: sys/boot/common tools/tools/bootparttest

2014-10-04 Thread Andrey V. Elsukov
Author: ae Date: Sun Oct 5 06:04:47 2014 New Revision: 272557 URL: https://svnweb.freebsd.org/changeset/base/272557 Log: Rework bootparttest to use more code from sys/boot. Use disk_open() call to emulate loader behavior. Added: head/tools/tools/bootparttest/stub.c - copied, changed f

svn commit: r272558 - head/tools/tools/bootparttest

2014-10-04 Thread Andrey V. Elsukov
Author: ae Date: Sun Oct 5 06:06:48 2014 New Revision: 272558 URL: https://svnweb.freebsd.org/changeset/base/272558 Log: Fix typo. Modified: head/tools/tools/bootparttest/bootparttest.c Modified: head/tools/tools/bootparttest/bootparttest.c ==

svn commit: r272559 - head/sys/netinet

2014-10-04 Thread Robert Watson
Author: rwatson Date: Sun Oct 5 06:28:53 2014 New Revision: 272559 URL: https://svnweb.freebsd.org/changeset/base/272559 Log: Eliminate use of M_EXT in IP6_EXTHDR_CHECK() by trimming a redundant 'if'/'else' case: it matches the simple 'else' case that follows. This reduces awareness of e