svn commit: r308100 - head/lib/libgcc_eh

2016-10-29 Thread Ed Maste
Author: emaste Date: Sun Oct 30 02:57:47 2016 New Revision: 308100 URL: https://svnweb.freebsd.org/changeset/base/308100 Log: compile libunwind c source with -fexceptions When an exception is thrown the unwinder must unwind its own C source (starting with _Unwind_RaiseException in

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

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 23:25:12 2016 New Revision: 308099 URL: https://svnweb.freebsd.org/changeset/base/308099 Log: Add sysctls for zfs_immediate_write_sz and zvol_immediate_write_sz. Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_log.c

svn commit: r308098 - head/sys/vm

2016-10-29 Thread Alan Cox
Author: alc Date: Sat Oct 29 21:01:49 2016 New Revision: 308098 URL: https://svnweb.freebsd.org/changeset/base/308098 Log: The "lookup_is_valid" field is used as a "bool". Make it one. Convert vm_fault_hold()'s Boolean variables that are only used internally to "bool". Add a comment

svn commit: r308097 - head/sys/kern

2016-10-29 Thread Mark Johnston
Author: markj Date: Sat Oct 29 20:01:48 2016 New Revision: 308097 URL: https://svnweb.freebsd.org/changeset/base/308097 Log: Fix WITNESS hints for pagequeue locks. MFC after:1 week Modified: head/sys/kern/subr_witness.c Modified: head/sys/kern/subr_witness.c

svn commit: r308096 - head/sys/vm

2016-10-29 Thread Alan Cox
Author: alc Date: Sat Oct 29 19:22:38 2016 New Revision: 308096 URL: https://svnweb.freebsd.org/changeset/base/308096 Log: With one exception, "hardfault" is used like a "bool". Change that exception and make it a "bool". Reviewed by: kib MFC after:7 days Modified:

Re: svn commit: r306577 - head/sys/netinet

2016-10-29 Thread Eric van Gyzen
On 10/29/2016 11:50, Hans Petter Selasky wrote: > On 10/02/16 03:42, Eric van Gyzen wrote: >> +if (callout_reset(>ia_garp_timer, (1 << ia->ia_garp_count) * hz, >> +garp_rexmit, ia) == 0) { >> +ifa_ref(ifa); >> +} > > Hi, > > Be careful when you MFC this, because the

svn commit: r308095 - head/sys/vm

2016-10-29 Thread Mark Johnston
Author: markj Date: Sat Oct 29 18:47:28 2016 New Revision: 308095 URL: https://svnweb.freebsd.org/changeset/base/308095 Log: Add one more use of unlock_vp(). Discussed with: kib X-MFC With: r308094 Modified: head/sys/vm/vm_fault.c Modified: head/sys/vm/vm_fault.c

svn commit: r308094 - head/sys/vm

2016-10-29 Thread Konstantin Belousov
Author: kib Date: Sat Oct 29 18:03:29 2016 New Revision: 308094 URL: https://svnweb.freebsd.org/changeset/base/308094 Log: Add unlock_vp() helper. Trim space. Discussed with: alc Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/vm/vm_fault.c

Re: svn commit: r306577 - head/sys/netinet

2016-10-29 Thread Hans Petter Selasky
On 10/02/16 03:42, Eric van Gyzen wrote: + if (callout_reset(>ia_garp_timer, (1 << ia->ia_garp_count) * hz, + garp_rexmit, ia) == 0) { + ifa_ref(ifa); + } Hi, Be careful when you MFC this, because the return values of callout_reset() and callout_stop() are

svn commit: r308091 - stable/10/include

2016-10-29 Thread Ed Schouten
Author: ed Date: Sat Oct 29 15:04:24 2016 New Revision: 308091 URL: https://svnweb.freebsd.org/changeset/base/308091 Log: Add posix_tnode to . In r307227 I've refactored the binary search tree functions to use the posix_tnode type. As this change does not apply cleanly to this version

svn commit: r308092 - stable/9/include

2016-10-29 Thread Ed Schouten
Author: ed Date: Sat Oct 29 15:04:33 2016 New Revision: 308092 URL: https://svnweb.freebsd.org/changeset/base/308092 Log: Add posix_tnode to . In r307227 I've refactored the binary search tree functions to use the posix_tnode type. As this change does not apply cleanly to this version

svn commit: r308090 - in stable/11: include lib/libc/stdlib lib/libc/tests/stdlib

2016-10-29 Thread Ed Schouten
Author: ed Date: Sat Oct 29 14:41:22 2016 New Revision: 308090 URL: https://svnweb.freebsd.org/changeset/base/308090 Log: MFC r307227 and r307343: Improve typing of POSIX search tree functions. Back in 2015 when I reimplemented these functions to use an AVL tree, I was annoyed

svn commit: r308089 - in head: cddl/contrib/opensolaris/lib/libzfs/common sbin sbin/zfsbootcfg sys/boot/i386/common sys/boot/i386/gptzfsboot sys/boot/i386/zfsboot sys/cddl/contrib/opensolaris/uts/c...

2016-10-29 Thread Andriy Gapon
Author: avg Date: Sat Oct 29 14:09:32 2016 New Revision: 308089 URL: https://svnweb.freebsd.org/changeset/base/308089 Log: zfsbootcfg: a simple tool to set next boot (one time) options for zfsboot (gpt)zfsboot will read one-time boot directives from a special ZFS pool area. The area was

svn commit: r308088 - head/sys/kern

2016-10-29 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Oct 29 12:38:30 2016 New Revision: 308088 URL: https://svnweb.freebsd.org/changeset/base/308088 Log: Fix getfsstat(2) handling of flags. The 'flags' argument is an enum, not a bitfield. For the intended usage - being passed either MNT_WAIT, or MNT_NOWAIT - this

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

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:57:35 2016 New Revision: 308087 URL: https://svnweb.freebsd.org/changeset/base/308087 Log: MFC r306456: Add #ifdef _KERNEL around send_holes_without_birth_time sysctl. Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_traverse.c Directory

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

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:56:43 2016 New Revision: 308086 URL: https://svnweb.freebsd.org/changeset/base/308086 Log: MFC r306425: MFV r306423: 7402 Create tunable to ignore hole_birth feature Until we can resolve the numerous hole_birth bugs that have cropped up recently, and

svn commit: r308085 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:55:56 2016 New Revision: 308085 URL: https://svnweb.freebsd.org/changeset/base/308085 Log: MFC r306456: Add #ifdef _KERNEL around send_holes_without_birth_time sysctl. Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu_traverse.c Directory

svn commit: r308084 - stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:55:13 2016 New Revision: 308084 URL: https://svnweb.freebsd.org/changeset/base/308084 Log: MFC r306425: MFV r306423: 7402 Create tunable to ignore hole_birth feature Until we can resolve the numerous hole_birth bugs that have cropped up recently, and

svn commit: r308083 - in stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:54:18 2016 New Revision: 308083 URL: https://svnweb.freebsd.org/changeset/base/308083 Log: MFC r306424: MFV r306422: 7254 ztest failed assertion in ztest_dataset_dirobj_verify: dirobjs + 1 == usedo bjs dsl_dataset_space is looking at the ds_bp's fill

svn commit: r308082 - in stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:53:38 2016 New Revision: 308082 URL: https://svnweb.freebsd.org/changeset/base/308082 Log: MFC r306424: MFV r306422: 7254 ztest failed assertion in ztest_dataset_dirobj_verify: dirobjs + 1 == usedobjs dsl_dataset_space is looking at the ds_bp's fill count

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

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:48:01 2016 New Revision: 308081 URL: https://svnweb.freebsd.org/changeset/base/308081 Log: MFC r307507, r307509, r307515: Consider device as clean even if SYNCHRONIZE CACHE failed. If device reservation was preempted by other initiator, our sync request

svn commit: r308080 - in stable/11/sys/cam: ata scsi

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:47:23 2016 New Revision: 308080 URL: https://svnweb.freebsd.org/changeset/base/308080 Log: MFC r307507, r307509, r307515: Consider device as clean even if SYNCHRONIZE CACHE failed. If device reservation was preempted by other initiator, our sync request

svn commit: r308079 - in stable/10: sys/cam/ctl usr.sbin/ctladm

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:45:39 2016 New Revision: 308079 URL: https://svnweb.freebsd.org/changeset/base/308079 Log: MFC r307374: Add LU option to control reported provisioning type. Modified: stable/10/sys/cam/ctl/ctl.c stable/10/usr.sbin/ctladm/ctladm.8 Directory Properties:

svn commit: r308078 - in stable/10: sys/cam/ctl usr.sbin/ctladm

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:45:06 2016 New Revision: 308078 URL: https://svnweb.freebsd.org/changeset/base/308078 Log: MFC r307350: Add LUN options to limit UNMAP and WRITE SAME sizes. CTL itself has no limits on on UNMAP and WRITE SAME sizes. But depending on backends large

svn commit: r308077 - in stable/11: sys/cam/ctl usr.sbin/ctladm

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:44:09 2016 New Revision: 308077 URL: https://svnweb.freebsd.org/changeset/base/308077 Log: MFC r307374: Add LU option to control reported provisioning type. Modified: stable/11/sys/cam/ctl/ctl.c stable/11/usr.sbin/ctladm/ctladm.8 Directory Properties:

svn commit: r308076 - in stable/11: sys/cam/ctl usr.sbin/ctladm

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:43:34 2016 New Revision: 308076 URL: https://svnweb.freebsd.org/changeset/base/308076 Log: MFC r307350: Add LUN options to limit UNMAP and WRITE SAME sizes. CTL itself has no limits on on UNMAP and WRITE SAME sizes. But depending on backends large

svn commit: r308075 - stable/10/sys/cam/ata

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:42:43 2016 New Revision: 308075 URL: https://svnweb.freebsd.org/changeset/base/308075 Log: MFC r304918: Decode some new ATA commands found in ACS-3. Modified: stable/10/sys/cam/ata/ata_all.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r308074 - stable/11/sys/cam/ata

2016-10-29 Thread Alexander Motin
Author: mav Date: Sat Oct 29 08:40:47 2016 New Revision: 308074 URL: https://svnweb.freebsd.org/changeset/base/308074 Log: MFC r304918: Decode some new ATA commands found in ACS-3. Modified: stable/11/sys/cam/ata/ata_all.c Directory Properties: stable/11/ (props changed) Modified: