svn commit: r368196 - head/sys/dev/if_wg/include/sys

2020-11-30 Thread Matt Macy
Author: mmacy Date: Mon Nov 30 20:58:42 2020 New Revision: 368196 URL: https://svnweb.freebsd.org/changeset/base/368196 Log: wireguard: fix zfs_ copy pasta in module init macro Reported by: Jessica Clarke Modified: head/sys/dev/if_wg/include/sys/support.h Modified: head/sys/dev/if_wg/in

svn commit: r368195 - head/sys/dev/if_wg/module/crypto/zinc/chacha20

2020-11-30 Thread Matt Macy
Author: mmacy Date: Mon Nov 30 20:54:44 2020 New Revision: 368195 URL: https://svnweb.freebsd.org/changeset/base/368195 Log: Remove (dead) GPL copyright code from wireguard sources Deleted: head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-unrolled-arm.S

svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_wg...

2020-11-29 Thread Matt Macy
Author: mmacy Date: Sun Nov 29 19:38:03 2020 New Revision: 368163 URL: https://svnweb.freebsd.org/changeset/base/368163 Log: Import kernel WireGuard support Data path largely shared with the OpenBSD implementation by Matt Dunwoodie Reviewed by: gre...@freebsd.org MFC after:1

svn commit: r366780 - in head/sys: cddl/contrib/opensolaris/common/unicode contrib/openzfs contrib/openzfs/cmd/arc_summary contrib/openzfs/cmd/dbufstat contrib/openzfs/cmd/zdb contrib/openzfs/cmd/z...

2020-10-16 Thread Matt Macy
Author: mmacy Date: Sat Oct 17 01:06:04 2020 New Revision: 366780 URL: https://svnweb.freebsd.org/changeset/base/366780 Log: Update OpenZFS to 2.0.0-rc3-gfc5966 - fix panic due to tqid overflow - Improve libzfs_error_init messages - Expose zfetch_max_idistance tunable - Make dbufstat

svn commit: r366353 - head/sys/contrib/openzfs/module/os/freebsd/spl

2020-10-01 Thread Matt Macy
Author: mmacy Date: Fri Oct 2 01:25:08 2020 New Revision: 366353 URL: https://svnweb.freebsd.org/changeset/base/366353 Log: OpenZFS: don't call fpu_kern_thread on i386 Modified: head/sys/contrib/openzfs/module/os/freebsd/spl/spl_taskq.c Modified: head/sys/contrib/openzfs/module/os/freebsd/s

svn commit: r366350 - in head/sys/contrib/openzfs: . .github cmd/zfs config contrib/initramfs/scripts contrib/intel_qat include/os/freebsd/spl/sys include/os/linux/spl/sys include/sys include/sys/l...

2020-10-01 Thread Matt Macy
Author: mmacy Date: Thu Oct 1 23:28:21 2020 New Revision: 366350 URL: https://svnweb.freebsd.org/changeset/base/366350 Log: OpenZFS: MFV 2.0-rc3-gfc5966 - Annotate FreeBSD sysctls with CTLFLAG_MPSAFE - Reduce stack usage of Lua - Don't save user FPU context in kernel threads - Add su

svn commit: r365894 - in head: cddl/lib/libzpool sys/contrib/openzfs sys/contrib/openzfs/cmd/mount_zfs sys/contrib/openzfs/cmd/zdb sys/contrib/openzfs/cmd/zfs sys/contrib/openzfs/cmd/zgenhostid sys...

2020-09-18 Thread Matt Macy
Author: mmacy Date: Fri Sep 18 23:21:24 2020 New Revision: 365894 URL: https://svnweb.freebsd.org/changeset/base/365894 Log: MFV 2.0-rc2 - Fixes divide by zero for unusual hz - remove cryptodev dependency Added: head/sys/contrib/openzfs/cmd/zgenhostid/.gitignore - copied unchanged

svn commit: r365466 - head/sys/modules/zfs

2020-09-08 Thread Matt Macy
Author: mmacy Date: Tue Sep 8 17:47:30 2020 New Revision: 365466 URL: https://svnweb.freebsd.org/changeset/base/365466 Log: ZFS: remove some extra defines When merging a number of defines that are needed in the standalone build made it in to the module makefile. Reported by: markj@

svn commit: r365347 - in head: lib/libbe sys/conf sys/contrib/openzfs sys/contrib/openzfs/cmd/zfs sys/contrib/openzfs/config sys/contrib/openzfs/etc/systemd/system sys/contrib/openzfs/etc/systemd/s...

2020-09-04 Thread Matt Macy
Author: mmacy Date: Fri Sep 4 22:25:14 2020 New Revision: 365347 URL: https://svnweb.freebsd.org/changeset/base/365347 Log: ZFS: MFV 2.0-rc1-gfd20a8 - fixes jail delegation - fixes raw kstat unsupported complaints - exposes dbgmsg, dbuf, and checksum benchmark stats - restore rename

svn commit: r364931 - head/sys/arm64/conf

2020-08-28 Thread Matt Macy
Author: mmacy Date: Fri Aug 28 19:02:05 2020 New Revision: 364931 URL: https://svnweb.freebsd.org/changeset/base/364931 Log: ZFS: add to arm64 NOTES to minimize potential for missing symbols Modified: head/sys/arm64/conf/NOTES Modified: head/sys/arm64/conf/NOTES =

svn commit: r364930 - in head/sys/contrib/openzfs: . cmd/zpool include include/sys/fs lib/libspl/include/os/freebsd/sys lib/libzfs man/man1 man/man5 man/man8 module module/lua/setjmp module/os/linu...

2020-08-28 Thread Matt Macy
Author: mmacy Date: Fri Aug 28 18:53:45 2020 New Revision: 364930 URL: https://svnweb.freebsd.org/changeset/base/364930 Log: ZFS: MFV 2.0-rc1-ga00c61 Added: head/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/zfs_receive_new_props.ksh - copied unchanged from r

svn commit: r364923 - in head/sys: amd64/conf conf

2020-08-28 Thread Matt Macy
Author: mmacy Date: Fri Aug 28 17:06:35 2020 New Revision: 364923 URL: https://svnweb.freebsd.org/changeset/base/364923 Log: ZFS: clarify dependencies for static linking Modified: head/sys/amd64/conf/NOTES head/sys/conf/NOTES Modified: head/sys/amd64/conf/NOTES

svn commit: r364893 - head/stand/libsa/zfs

2020-08-27 Thread Matt Macy
Author: mmacy Date: Thu Aug 27 21:37:35 2020 New Revision: 364893 URL: https://svnweb.freebsd.org/changeset/base/364893 Log: ZFS: remove duplicate "com.datto:encryption" from loader Modified: head/stand/libsa/zfs/zfsimpl.c Modified: head/stand/libsa/zfs/zfsimpl.c

svn commit: r364788 - head/sys/cddl/contrib/opensolaris/common/lz4

2020-08-25 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 23:35:55 2020 New Revision: 364788 URL: https://svnweb.freebsd.org/changeset/base/364788 Log: ZFS: band-aid for -DNO_CLEAN Submitted by: Neal Chauhan Approved by: imp@ Differential Revision:https://reviews.freebsd.org/D26183 Modified: head/sys

svn commit: r364787 - head/stand/libsa/zfs

2020-08-25 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 23:26:52 2020 New Revision: 364787 URL: https://svnweb.freebsd.org/changeset/base/364787 Log: ZFS: whitelist zstd and encryption in the loader Please note that neither zstd nor encryption is supported by the loader at this instant. This change makes it saf

svn commit: r364773 - head/stand/userboot/userboot

2020-08-25 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 17:23:33 2020 New Revision: 364773 URL: https://svnweb.freebsd.org/changeset/base/364773 Log: Fix userboot after r364355 r364355 replaced init_zfs_bootenv with init_zfs_boot_options and neglected to update userboot in the process. Modified: head/stand/use

svn commit: r364772 - head

2020-08-25 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 17:19:15 2020 New Revision: 364772 URL: https://svnweb.freebsd.org/changeset/base/364772 Log: Give stronger guidance with regards to upgrading root pools Modified: head/UPDATING Modified: head/UPDATING ===

svn commit: r364751 - head/cddl/lib/libzfs

2020-08-24 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 03:43:52 2020 New Revision: 364751 URL: https://svnweb.freebsd.org/changeset/base/364751 Log: Fix libzfs build failures for some In some environments adding zstd/include to the include path would cause zstd's stdlib.h to hide the system one. Modified: hea

svn commit: r364749 - head

2020-08-24 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 02:42:48 2020 New Revision: 364749 URL: https://svnweb.freebsd.org/changeset/base/364749 Log: Mention OpenZFS merge in UPDATING Modified: head/UPDATING Modified: head/UPDATING == --- he

svn commit: r364747 - head/sys/sys

2020-08-24 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 02:22:49 2020 New Revision: 364747 URL: https://svnweb.freebsd.org/changeset/base/364747 Log: Bump __FreeBSD_version for OpenZFS switchover Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h ===

svn commit: r364746 - in head: . cddl/compat/opensolaris/include cddl/contrib/opensolaris/cmd/lockstat cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd...

2020-08-24 Thread Matt Macy
Author: mmacy Date: Tue Aug 25 02:21:27 2020 New Revision: 364746 URL: https://svnweb.freebsd.org/changeset/base/364746 Log: Merge OpenZFS support in to HEAD. The primary benefit is maintaining a completely shared code base with the community allowing FreeBSD to receive new features soo

svn commit: r364740 - head/sys/contrib/openzfs

2020-08-24 Thread Matt Macy
Author: mmacy Date: Mon Aug 24 23:31:26 2020 New Revision: 364740 URL: https://svnweb.freebsd.org/changeset/base/364740 Log: Initial import from vendor-sys branch of openzfs Added: head/sys/contrib/openzfs/ - copied from r364739, vendor-sys/openzfs/dist/ _

svn commit: r363590 - head/sys/net

2020-07-26 Thread Matt Macy
Author: mmacy Date: Mon Jul 27 01:17:59 2020 New Revision: 363590 URL: https://svnweb.freebsd.org/changeset/base/363590 Log: iflib: fix LOR with bpf detach Reported by: grehan@ Approved by: grehan@ MFC after:1 week Sponsored by: Netgate Differential Revision: https://reviews.f

svn commit: r362669 - head/lib/libnv

2020-06-26 Thread Matt Macy
Author: mmacy Date: Sat Jun 27 02:17:04 2020 New Revision: 362669 URL: https://svnweb.freebsd.org/changeset/base/362669 Log: Fix libnv build post rename Submitted by: Neel Chauhan Differential Revision:https://reviews.freebsd.org/D25481 Modified: head/lib/libnv/Makefile Modifi

svn commit: r362667 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2020-06-26 Thread Matt Macy
Author: mmacy Date: Sat Jun 27 00:57:48 2020 New Revision: 362667 URL: https://svnweb.freebsd.org/changeset/base/362667 Log: Fix "current" variable name conflict with openzfs The variable "current" is an alias for curthread in openzfs. Rename all variable uses of current in dtrace.c to

svn commit: r362666 - in head/sys: conf contrib/libnv

2020-06-26 Thread Matt Macy
Author: mmacy Date: Sat Jun 27 00:55:03 2020 New Revision: 362666 URL: https://svnweb.freebsd.org/changeset/base/362666 Log: Rename nvpair.c to bsd_nvpair.c to not conflict with openzfs' version. Added: head/sys/contrib/libnv/bsd_nvpair.c - copied unchanged from r362665, head/sys/contrib

svn commit: r362471 - head/sys/net

2020-06-21 Thread Matt Macy
Author: mmacy Date: Sun Jun 21 22:02:49 2020 New Revision: 362471 URL: https://svnweb.freebsd.org/changeset/base/362471 Log: iflib: fix cloneattach fail and generalize pseudo device handling - a cloneattach failure will not currently be handled correctly, jump to the right target -

svn commit: r361665 - head/sys/net

2020-05-31 Thread Matt Macy
Author: mmacy Date: Sun May 31 18:42:00 2020 New Revision: 361665 URL: https://svnweb.freebsd.org/changeset/base/361665 Log: Fix panics when using iflib pseudo device support Reviewed by: gallatin@, hselasky@ MFC after:1 week Sponsored by: Netgate, Inc. Differential Revision:

svn commit: r359622 - in head/lib/libpmc/pmu-events/arch/x86: . bonnell broadwell broadwellde broadwellx cascadelakex goldmont goldmontplus haswell haswellx icelake ivybridge ivytown jaketown knigh...

2020-04-03 Thread Matt Macy
Author: mmacy Date: Fri Apr 3 22:36:22 2020 New Revision: 359622 URL: https://svnweb.freebsd.org/changeset/base/359622 Log: Update x86 counters MFC after:1 week Added: head/lib/libpmc/pmu-events/arch/x86/cascadelakex/ head/lib/libpmc/pmu-events/arch/x86/cascadelakex/cache.json (

svn commit: r357987 - in head: share/man/man9 sys/kern sys/sys

2020-02-15 Thread Matt Macy
Author: mmacy Date: Sun Feb 16 00:12:53 2020 New Revision: 357987 URL: https://svnweb.freebsd.org/changeset/base/357987 Log: Add zfree to zero allocation before free Key and cookie management typically wants to avoid information leaks by explicitly zeroing before free. This routine simp

svn commit: r357986 - in head/sys: conf contrib/libsodium/src/libsodium/include/sodium

2020-02-15 Thread Matt Macy
Author: mmacy Date: Sun Feb 16 00:03:09 2020 New Revision: 357986 URL: https://svnweb.freebsd.org/changeset/base/357986 Log: Add chacha20poly1305 support to crypto build This is a dependency for in-kernel wireguard. Reviewed by: cem@ MFC after:1 week Sponsored by: Rubicon Comm

svn commit: r353483 - head/sys/dev/hwpmc

2019-10-13 Thread Matt Macy
Author: mmacy Date: Sun Oct 13 22:26:55 2019 New Revision: 353483 URL: https://svnweb.freebsd.org/changeset/base/353483 Log: Fix sample check in hwpmc Don't drop samples with callchain pending Tested by: mjg@ Submitted by: Rajeeb Barman at amd.com MFC after:1 week Differen

svn commit: r352923 - head/bin/dd

2019-09-30 Thread Matt Macy
Author: mmacy Date: Mon Sep 30 22:00:48 2019 New Revision: 352923 URL: https://svnweb.freebsd.org/changeset/base/352923 Log: Add iflag=fullblock to dd Normally, count=n means read(2) will be called n times on the input to dd. If the read() returns short, as may happen when reading from a

svn commit: r352922 - head/bin/dd

2019-09-30 Thread Matt Macy
Author: mmacy Date: Mon Sep 30 21:56:42 2019 New Revision: 352922 URL: https://svnweb.freebsd.org/changeset/base/352922 Log: Add oflag=fsync and oflag=sync capability to dd Sets the O_FSYNC flag on the output file. oflag=fsync and oflag=sync are synonyms just as O_FSYNC and O_SYNC are syn

svn commit: r352921 - head/bin/dd

2019-09-30 Thread Matt Macy
Author: mmacy Date: Mon Sep 30 21:53:26 2019 New Revision: 352921 URL: https://svnweb.freebsd.org/changeset/base/352921 Log: dd: Check result of close(2) for errors close(2) can return errors from previous operations which should not be ignored. PR: 229616 Submitted by: Thomas Hurst

svn commit: r352920 - head/bin/dd

2019-09-30 Thread Matt Macy
Author: mmacy Date: Mon Sep 30 21:48:12 2019 New Revision: 352920 URL: https://svnweb.freebsd.org/changeset/base/352920 Log: Add conv=fdatasync flag to dd The fdatasync flag performs an fdatasync(2) on the output file before closing it. This will be useful for the ZFS test suite. Su

svn commit: r351771 - in head: release/amd64 tools/boot

2019-09-03 Thread Matt Macy
Author: mmacy Date: Tue Sep 3 18:37:55 2019 New Revision: 351771 URL: https://svnweb.freebsd.org/changeset/base/351771 Log: Use makefs -t msdos in make_esp_file With this last piece in place, make -C /usr/src/release release.iso is finally able to run in a jail. This was not possible bef

svn commit: r351770 - head/bin/dd

2019-09-03 Thread Matt Macy
Author: mmacy Date: Tue Sep 3 18:35:55 2019 New Revision: 351770 URL: https://svnweb.freebsd.org/changeset/base/351770 Log: Add conv=fsync flag to dd The fsync flag performs an fsync(2) on the output file before closing it. This will be useful for the ZFS test suite. Submitted by: r

svn commit: r351104 - head/lib/libpmc

2019-08-15 Thread Matt Macy
Author: mmacy Date: Thu Aug 15 21:51:11 2019 New Revision: 351104 URL: https://svnweb.freebsd.org/changeset/base/351104 Log: pmc: restore "unhalted-cycles" alias Reported by: mav@ Modified: head/lib/libpmc/libpmc_pmu_util.c Modified: head/lib/libpmc/libpmc_pmu_util.c ==

svn commit: r349217 - head/stand/libsa/zfs

2019-06-19 Thread Matt Macy
Author: mmacy Date: Wed Jun 19 21:10:13 2019 New Revision: 349217 URL: https://svnweb.freebsd.org/changeset/base/349217 Log: Tell loader to ignore newer features enabled on the root pool. There are many new features in ZoF. Most, if not all, do not effect read only usage. Encryption in p

svn commit: r347357 - head/sys/sys

2019-05-08 Thread Matt Macy
Author: mmacy Date: Wed May 8 18:10:19 2019 New Revision: 347357 URL: https://svnweb.freebsd.org/changeset/base/347357 Log: Enable sys/disk.h consumers to avoid pulling in networking headers. The networking headers break ZoF. Modified: head/sys/sys/disk.h Modified: head/sys/sys/disk.h

svn commit: r347057 - head/sys/net

2019-05-03 Thread Matt Macy
Author: mmacy Date: Fri May 3 20:05:31 2019 New Revision: 347057 URL: https://svnweb.freebsd.org/changeset/base/347057 Log: Allow iflib drivers to pass a pointer to their own ifmedia structure. Tested by: emaste@ Differential Revision:https://reviews.freebsd.org/D19946 Modifi

svn commit: r344868 - head/sys/amd64/conf

2019-03-06 Thread Matt Macy
Author: mmacy Date: Thu Mar 7 03:50:34 2019 New Revision: 344868 URL: https://svnweb.freebsd.org/changeset/base/344868 Log: add gcov to LINT build MFC after:1 week Modified: head/sys/amd64/conf/NOTES Modified: head/sys/amd64/conf/NOTES ==

svn commit: r344867 - head/sys/conf

2019-03-06 Thread Matt Macy
Author: mmacy Date: Thu Mar 7 03:47:41 2019 New Revision: 344867 URL: https://svnweb.freebsd.org/changeset/base/344867 Log: Add build time GPL warning when GCOV is enabled MFC after:1 week Modified: head/sys/conf/files Modified: head/sys/conf/files =

svn commit: r344869 - head/sys/gnu/gcov

2019-03-06 Thread Matt Macy
Author: mmacy Date: Thu Mar 7 03:53:48 2019 New Revision: 344869 URL: https://svnweb.freebsd.org/changeset/base/344869 Log: add GPL text in addition to SPDX tags as requested by core MFC after:1 week Modified: head/sys/gnu/gcov/gcc_4_7.c head/sys/gnu/gcov/gcov_fs.c Modified: head

svn commit: r344487 - in head/sys: conf gnu/gcov

2019-02-23 Thread Matt Macy
Author: mmacy Date: Sat Feb 23 21:14:00 2019 New Revision: 344487 URL: https://svnweb.freebsd.org/changeset/base/344487 Log: gcov support add gcov support and export results as files in debugfs Reviewed by: hps@ MFC after:1 week Sponsored by: iX Systems Differential Revision

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

2019-02-23 Thread Matt Macy
Author: mmacy Date: Sat Feb 23 21:04:48 2019 New Revision: 344486 URL: https://svnweb.freebsd.org/changeset/base/344486 Log: Change seq_read to seq_load to avoid namespace conflicts with lkpi MFC after:1 week Sponsored by: iX Systems Modified: head/sys/kern/kern_descrip.c head/sy

svn commit: r344485 - in head/sys/compat: lindebugfs linuxkpi/common/include/linux linuxkpi/common/src

2019-02-23 Thread Matt Macy
Author: mmacy Date: Sat Feb 23 20:56:41 2019 New Revision: 344485 URL: https://svnweb.freebsd.org/changeset/base/344485 Log: import linux debugfs support Reviewed by: hps@ MFC after:1 week Sponsored by: iX Systems Differential Revision:https://reviews.freebsd.org/D19258

svn commit: r344484 - head/sys/compat/linuxkpi/common/include/linux

2019-02-23 Thread Matt Macy
Author: mmacy Date: Sat Feb 23 20:45:45 2019 New Revision: 344484 URL: https://svnweb.freebsd.org/changeset/base/344484 Log: linux/fs: simplify interop and correct definition of loff_t - offsets can be negative, loff_t needs to be signed, it also simplifies interop with the rest of the

svn commit: r344478 - in head/sys: compat/linuxkpi/common/include/linux compat/linuxkpi/common/src kern sys

2019-02-22 Thread Matt Macy
Author: mmacy Date: Fri Feb 22 23:15:32 2019 New Revision: 344478 URL: https://svnweb.freebsd.org/changeset/base/344478 Log: lkpi: allow late binding of linux_alloc_current Some consumers may be loosely coupled with the lkpi. This allows them to call linux_alloc_current without having a

svn commit: r344385 - head/sys/fs/pseudofs

2019-02-20 Thread Matt Macy
Author: mmacy Date: Wed Feb 20 20:55:02 2019 New Revision: 344385 URL: https://svnweb.freebsd.org/changeset/base/344385 Log: PFS: Bump NAMELEN and don't require clients to be sleepable - debugfs consumers expect to be able to export names more than 48 characters - debugfs consumers exp

svn commit: r344384 - in head/sys: libkern sys

2019-02-20 Thread Matt Macy
Author: mmacy Date: Wed Feb 20 20:48:10 2019 New Revision: 344384 URL: https://svnweb.freebsd.org/changeset/base/344384 Log: Add non-sleepable strdup variant strdup_flags debugfs expects to do non-sleepable allocations Reviewed by: hps@ MFC after:1 week Sponsored by: iX System

svn commit: r343758 - head/lib/libpmc/pmu-events

2019-02-04 Thread Matt Macy
Author: mmacy Date: Tue Feb 5 00:31:25 2019 New Revision: 343758 URL: https://svnweb.freebsd.org/changeset/base/343758 Log: Fix deterministic builds by sorting input to fts in jevents Reported by: emaste@ Modified: head/lib/libpmc/pmu-events/jevents.c Modified: head/lib/libpmc/pmu-even

svn commit: r342793 - in head: . share/mk stand/efi/boot1 stand/efi/libefi stand/efi/loader stand/i386 stand/i386/loader stand/libsa stand/sparc64 stand/sparc64/loader stand/userboot/userboot tools...

2019-01-05 Thread Matt Macy
Author: mmacy Date: Sat Jan 5 22:45:20 2019 New Revision: 342793 URL: https://svnweb.freebsd.org/changeset/base/342793 Log: MK_ZFS -> {MK_ZFS|MK_LOADER_ZFS}, this is so we can diable userland / kernel ZFS but keep the boot-loaders when using ZoL port. MFC after: 1 week Reviewed by: rgr

svn commit: r342749 - head/sys/net

2019-01-03 Thread Matt Macy
Author: mmacy Date: Thu Jan 3 23:06:05 2019 New Revision: 342749 URL: https://svnweb.freebsd.org/changeset/base/342749 Log: mp_ring: avoid items offset difference between iflib and mp_ring on architectures without 64-bit atomics Reported by: Augustin Cavalier Modified: head/sys/net/

svn commit: r342747 - head/sys/cddl/boot/zfs

2019-01-03 Thread Matt Macy
Author: mmacy Date: Thu Jan 3 22:49:11 2019 New Revision: 342747 URL: https://svnweb.freebsd.org/changeset/base/342747 Log: zfsboot: support newer ZFS versions declare v3 objset size/layout to fix userboot and possibly other loader issues - fix for userboot assertion failure in zfs_dev_c

svn commit: r342024 - in head/sys: crypto/aesni opencrypto

2018-12-12 Thread Matt Macy
Author: mmacy Date: Thu Dec 13 04:40:53 2018 New Revision: 342024 URL: https://svnweb.freebsd.org/changeset/base/342024 Log: Generalize AES iov optimization Right now, aesni_cipher_alloc does a bit of special-casing for CRYPTO_F_IOV, to not do any allocation if the first uio is large en

svn commit: r340420 - head/sys/kern

2018-11-13 Thread Matt Macy
Author: mmacy Date: Wed Nov 14 00:12:04 2018 New Revision: 340420 URL: https://svnweb.freebsd.org/changeset/base/340420 Log: epoch(9) revert r340097 - no longer a need for multiple sections per cpu I spoke with Samy Bahra and recent changes to CK to make ck_epoch_call and ck_epoch_poll no

svn commit: r340414 - head/sys/amd64/conf

2018-11-13 Thread Matt Macy
Author: mmacy Date: Tue Nov 13 23:08:46 2018 New Revision: 340414 URL: https://svnweb.freebsd.org/changeset/base/340414 Log: Add ZFS to amd64 NOTES to catch future breakage of static linking Modified: head/sys/amd64/conf/NOTES Modified: head/sys/amd64/conf/NOTES =

svn commit: r340149 - head/sys/dev/hwpmc

2018-11-05 Thread Matt Macy
Author: mmacy Date: Mon Nov 5 08:11:16 2018 New Revision: 340149 URL: https://svnweb.freebsd.org/changeset/base/340149 Log: hwpmc: limit wait for user callchain collection to 1 tick The hwpmc pcpu sample buffer is prone to head of line blocking when waiting for user process to return to

svn commit: r340108 - in head: lib/libpmc lib/libpmc/pmu-events lib/libpmc/pmu-events/arch/x86/amdfam17h sys/dev/hwpmc

2018-11-03 Thread Matt Macy
Author: mmacy Date: Sun Nov 4 06:24:27 2018 New Revision: 340108 URL: https://svnweb.freebsd.org/changeset/base/340108 Log: Add aditional counter descriptions to AMD 0x17 Submitted by: Somalapuram Amaranath MFC after:3 days Differential Revision:https://reviews.freebsd.org/

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

2018-11-02 Thread Matt Macy
Author: mmacy Date: Sat Nov 3 03:43:32 2018 New Revision: 340097 URL: https://svnweb.freebsd.org/changeset/base/340097 Log: Convert epoch to read / write records per cpu In discussing D17503 "Run epoch calls sooner and more reliably" with sbahra@ we came to the conclusion that epoch is c

svn commit: r339188 - in head/sys: dev/hwpmc sys

2018-10-04 Thread Matt Macy
Author: mmacy Date: Fri Oct 5 05:55:56 2018 New Revision: 339188 URL: https://svnweb.freebsd.org/changeset/base/339188 Log: hwpmc: Refactor sample ring buffer handling to fix races Refactor sample ring buffer ring handling to make it more robust to long running callchain collection handl

svn commit: r339187 - in head/sys: kern sys vm

2018-10-04 Thread Matt Macy
Author: mmacy Date: Fri Oct 5 05:50:56 2018 New Revision: 339187 URL: https://svnweb.freebsd.org/changeset/base/339187 Log: eliminate locking surrounding ui_vmsize and swap reserve by using atomics Change swap_reserve and swap_total to be in units of pages so that swap reservations can b

svn commit: r338918 - head/usr.sbin/pmccontrol

2018-09-24 Thread Matt Macy
Author: mmacy Date: Mon Sep 24 19:06:09 2018 New Revision: 338918 URL: https://svnweb.freebsd.org/changeset/base/338918 Log: restore pmccontrol -L behavior on x86 When I updated counter definition handling for x86 I broke 'pmccontrol -L' listing counter names. This just changes pmccontr

svn commit: r338850 - head/sys/net

2018-09-20 Thread Matt Macy
Author: mmacy Date: Fri Sep 21 01:37:08 2018 New Revision: 338850 URL: https://svnweb.freebsd.org/changeset/base/338850 Log: fix vlan locking to permit sx acquisition in ioctl calls - update vlan(9) to handle changes earlier this year in multicast locking Tested by: np@, darkfiberu at

svn commit: r338677 - in head: lib/libpmc sys/dev/hwpmc

2018-09-13 Thread Matt Macy
Author: mmacy Date: Fri Sep 14 01:30:05 2018 New Revision: 338677 URL: https://svnweb.freebsd.org/changeset/base/338677 Log: hwpmc: set default rate if event description lacks one / filter rate against misuse Not all event descriptions have a sample rate (such as inst_retired.any) this w

svn commit: r338676 - in head: lib lib/libpmc usr.sbin

2018-09-13 Thread Matt Macy
Author: mmacy Date: Fri Sep 14 01:11:10 2018 New Revision: 338676 URL: https://svnweb.freebsd.org/changeset/base/338676 Log: re-enable pmcstat, pmccontrol, and pmcannotate for gcc4 builds I had disabled building of the aforementioned targets due to warnings breaking tinderbox. This silenc

svn commit: r338178 - in head/sys: netinet netinet6

2018-08-21 Thread Matt Macy
Author: mmacy Date: Wed Aug 22 04:09:55 2018 New Revision: 338178 URL: https://svnweb.freebsd.org/changeset/base/338178 Log: in_mcast: fix copy paste error when clearing flag Modified: head/sys/netinet/in_mcast.c head/sys/netinet6/in6_mcast.c Modified: head/sys/netinet/in_mcast.c =

svn commit: r338177 - in head/tools: kerneldoc/subsys tools

2018-08-21 Thread Matt Macy
Author: mmacy Date: Wed Aug 22 03:04:43 2018 New Revision: 338177 URL: https://svnweb.freebsd.org/changeset/base/338177 Log: r338172 followup - removal of stray drm references Deleted: head/tools/kerneldoc/subsys/Doxyfile-dev_drm Modified: head/tools/tools/README Modified: head/tools/tools

svn commit: r338176 - in head: sys/conf sys/contrib/dev/drm2 tools/tools/drm

2018-08-21 Thread Matt Macy
Author: mmacy Date: Wed Aug 22 02:53:35 2018 New Revision: 338176 URL: https://svnweb.freebsd.org/changeset/base/338176 Log: r338172 follow - remove firmwares Deleted: head/sys/contrib/dev/drm2/ head/tools/tools/drm/ Modified: head/sys/conf/files Modified: head/sys/conf/files ===

svn commit: r338175 - in head/sys/dev: drm drm2

2018-08-21 Thread Matt Macy
Author: mmacy Date: Wed Aug 22 02:43:34 2018 New Revision: 338175 URL: https://svnweb.freebsd.org/changeset/base/338175 Log: cleanup after git svn detritus left by r338172 Deleted: head/sys/dev/drm/ head/sys/dev/drm2/ ___ svn-src-head@freebsd.org

svn commit: r338174 - head/sys/arm/conf

2018-08-21 Thread Matt Macy
Author: mmacy Date: Wed Aug 22 02:18:45 2018 New Revision: 338174 URL: https://svnweb.freebsd.org/changeset/base/338174 Log: disconnect drm2 from tegra build until made self-contained Modified: head/sys/arm/conf/TEGRA124 Modified: head/sys/arm/conf/TEGRA124 ==

svn commit: r338172 - in head: . sys/amd64/conf sys/dev/drm sys/dev/drm2 sys/dev/drm2/i915 sys/dev/drm2/radeon sys/dev/drm2/radeon/reg_srcs sys/dev/drm2/ttm sys/i386/conf sys/modules sys/modules/dr...

2018-08-21 Thread Matt Macy
Author: mmacy Date: Wed Aug 22 01:50:12 2018 New Revision: 338172 URL: https://svnweb.freebsd.org/changeset/base/338172 Log: Remove legacy drm and drm2 from tree As discussed on the MLs drm2 conflicts with the ports' version and there is no upstream for most if not all of drm. Both have b

svn commit: r338163 - head/sys/netinet6

2018-08-21 Thread Matt Macy
Author: mmacy Date: Tue Aug 21 23:03:02 2018 New Revision: 338163 URL: https://svnweb.freebsd.org/changeset/base/338163 Log: Fix null deref in mld_v1_transmit_report After r337866 it is possible for an in_multi6 to be referenced while mid teardown. Handle case of cleared ifnet pointer.

svn commit: r338162 - head/sys/net

2018-08-21 Thread Matt Macy
Author: mmacy Date: Tue Aug 21 22:59:22 2018 New Revision: 338162 URL: https://svnweb.freebsd.org/changeset/base/338162 Log: fix copy/paste error when clearing ifma flag CID: 1395119 Reported by: vangyzen Modified: head/sys/net/if.c Modified: head/sys/net/if.c ===

svn commit: r338128 - in head: cddl/lib/libzpool cddl/usr.bin/ztest cddl/usr.sbin/zdb sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys sys/conf sys/modules/zfs

2018-08-20 Thread Matt Macy
Author: mmacy Date: Tue Aug 21 03:45:09 2018 New Revision: 338128 URL: https://svnweb.freebsd.org/changeset/base/338128 Log: Make dnode definition uniform on !x86 gcc4 requires -fms-extensions to accept anonymous union members Modified: head/cddl/lib/libzpool/Makefile head/cddl/usr.bin

svn commit: r338127 - head/sys/sys

2018-08-20 Thread Matt Macy
Author: mmacy Date: Tue Aug 21 03:33:54 2018 New Revision: 338127 URL: https://svnweb.freebsd.org/changeset/base/338127 Log: Make epoch KBI consistent between INVARIANTS and non-INVARIANTS move extra fields under EPOCH_TRACKER_DEBUG Reported by: hps Modified: head/sys/sys/epoch.h

svn commit: r338074 - in head/sys: arm/nvidia dev/acpica dev/uart mips/atheros mips/atheros/ar531x mips/broadcom mips/cavium mips/ingenic mips/malta modules/uart powerpc/psim sparc64/pci

2018-08-19 Thread Matt Macy
Author: mmacy Date: Sun Aug 19 21:10:21 2018 New Revision: 338074 URL: https://svnweb.freebsd.org/changeset/base/338074 Log: add snps IP uart support / genaralize UART This is an amalgam of a patch by Doug Ambrisko to generalize uart_acpi_find_device, imp moving the ACPI table to uart_d

svn commit: r337866 - in head/sys: net netinet netinet6

2018-08-15 Thread Matt Macy
Author: mmacy Date: Wed Aug 15 20:23:08 2018 New Revision: 337866 URL: https://svnweb.freebsd.org/changeset/base/337866 Log: Fix in6_multi double free This is actually several different bugs: - The code is not designed to handle inpcb deletion after interface deletion - add reference

svn commit: r337735 - in head: lib/libpmc lib/libpmc/pmu-events/arch/x86 lib/libpmc/pmu-events/arch/x86/amdfam17h sys/dev/hwpmc

2018-08-13 Thread Matt Macy
Author: mmacy Date: Tue Aug 14 05:18:43 2018 New Revision: 337735 URL: https://svnweb.freebsd.org/changeset/base/337735 Log: Add library and kernel support for AMD Family 17h counters NB: lacks default sample rate for most counters Modified: head/lib/libpmc/libpmc_pmu_util.c head/lib/l

svn commit: r337730 - in head/lib/libpmc/pmu-events/arch/x86: . amdfam17h

2018-08-13 Thread Matt Macy
Author: mmacy Date: Mon Aug 13 23:46:44 2018 New Revision: 337730 URL: https://svnweb.freebsd.org/changeset/base/337730 Log: pmc amd17h: fix inputs to jevents Modified: head/lib/libpmc/pmu-events/arch/x86/amdfam17h/cache.json head/lib/libpmc/pmu-events/arch/x86/amdfam17h/core.json head/li

svn commit: r337729 - in head/lib/libpmc/pmu-events/arch/x86: . amdfam17h

2018-08-13 Thread Matt Macy
Author: mmacy Date: Mon Aug 13 22:34:57 2018 New Revision: 337729 URL: https://svnweb.freebsd.org/changeset/base/337729 Log: Add PMC support for AMD Family CPUs Added: head/lib/libpmc/pmu-events/arch/x86/amdfam17h/ head/lib/libpmc/pmu-events/arch/x86/amdfam17h/cache.json (contents, props

svn commit: r337690 - head/sys/conf

2018-08-12 Thread Matt Macy
Author: mmacy Date: Sun Aug 12 21:04:53 2018 New Revision: 337690 URL: https://svnweb.freebsd.org/changeset/base/337690 Log: fix static ZFS linking Static linking of ZFS is a newish option and LINT doesn't include it Modified: head/sys/conf/files Modified: head/sys/conf/files ==

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

2018-08-11 Thread Matt Macy
Author: mmacy Date: Sun Aug 12 03:15:30 2018 New Revision: 337677 URL: https://svnweb.freebsd.org/changeset/base/337677 Log: MFV/ZoL: Add dbuf hash and dbuf cache kstats TODO: KSTAT_TYPE_NAMED support commit 5e021f56d3437d3523904652fe3cc23ea1f4cb70 Author: Giuseppe Di Natale Date

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

2018-08-11 Thread Matt Macy
Author: mmacy Date: Sun Aug 12 02:24:18 2018 New Revision: 337676 URL: https://svnweb.freebsd.org/changeset/base/337676 Log: MFV/ZoL: Fix stack dbuf_hold_impl() commit fc5bb51f08a6c91ff9ad3559d0266eeeab0b1f61 Author: Brian Behlendorf Date: Thu Aug 26 10:52:00 2010 -0700

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

2018-08-11 Thread Matt Macy
Author: mmacy Date: Sun Aug 12 02:12:44 2018 New Revision: 337675 URL: https://svnweb.freebsd.org/changeset/base/337675 Log: fix build DN_MAX_BONUSLEN -> DN_OLD_MAX_BONUSLEN Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dnode.h Modified: head/sys/cddl/contrib/opensolaris/

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

2018-08-11 Thread Matt Macy
Author: mmacy Date: Sun Aug 12 02:09:06 2018 New Revision: 337674 URL: https://svnweb.freebsd.org/changeset/base/337674 Log: Restore legacy dnode_phys layout on tier 2 arches Evidently gcc4 doesn't support anonymous union members Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/

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

2018-08-11 Thread Matt Macy
Author: mmacy Date: Sun Aug 12 01:17:32 2018 New Revision: 337671 URL: https://svnweb.freebsd.org/changeset/base/337671 Log: MFV/ZoL:Fix PANIC: metaslab_free_dva(): bad DVA X:Y:Z commit 81edd3e83409218879e7af293daa86b0c40eb015 Author: Peng Date: Wed Jun 8 15:22:07 2016 +0800

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

2018-08-11 Thread Matt Macy
Author: mmacy Date: Sun Aug 12 01:29:30 2018 New Revision: 337672 URL: https://svnweb.freebsd.org/changeset/base/337672 Log: MFV/ZoL: Fix stack noinline commit 60948de1ef976aabaa3630707bcc8b5867508507 Author: Brian Behlendorf Date: Thu Aug 26 10:58:36 2010 -0700 Fix stack no

svn commit: r337670 - in head/sys/cddl: compat/opensolaris/sys contrib/opensolaris/uts/common contrib/opensolaris/uts/common/fs/zfs contrib/opensolaris/uts/common/fs/zfs/sys

2018-08-11 Thread Matt Macy
Author: mmacy Date: Sun Aug 12 01:10:18 2018 New Revision: 337670 URL: https://svnweb.freebsd.org/changeset/base/337670 Log: MFV/ZoL: add dbuf stats NB: disabled pending the addition of KSTAT_TYPE_RAW support to the SPL commit e0b0ca983d6897bcddf05af2c0e5d01ff66f90db Author: Brian

svn commit: r337669 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/usr.bin/ztest sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contrib/opensolaris/uts/common...

2018-08-11 Thread Matt Macy
Author: mmacy Date: Sun Aug 12 00:45:53 2018 New Revision: 337669 URL: https://svnweb.freebsd.org/changeset/base/337669 Log: MFV/ZoL: Implement large_dnode pool feature commit 50c957f702ea6d08a634e42f73e8a49931dd8055 Author: Ned Bass Date: Wed Mar 16 18:25:34 2016 -0700 Impl

svn commit: r337661 - head/usr.bin/top

2018-08-11 Thread Matt Macy
Author: mmacy Date: Sat Aug 11 22:11:12 2018 New Revision: 337661 URL: https://svnweb.freebsd.org/changeset/base/337661 Log: fix top after arc accounting change Modified: head/usr.bin/top/machine.c Modified: head/usr.bin/top/machine.c =

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

2018-08-11 Thread Matt Macy
Author: mmacy Date: Sat Aug 11 22:01:52 2018 New Revision: 337660 URL: https://svnweb.freebsd.org/changeset/base/337660 Log: Enable balanced arc pruning Taken from: ommit f6046738365571bd647f804958dfdff8a32fbde4 Author: Brian Behlendorf Date: Sat May 30 09:57:53 2015 -0500

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

2018-08-11 Thread Matt Macy
Author: mmacy Date: Sat Aug 11 20:41:42 2018 New Revision: 337656 URL: https://svnweb.freebsd.org/changeset/base/337656 Log: buildworld fix: private appears to have special meaning on FreeBSD - revert to priv Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/arc.h Modified:

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

2018-08-11 Thread Matt Macy
Author: mmacy Date: Sat Aug 11 19:45:04 2018 New Revision: 337653 URL: https://svnweb.freebsd.org/changeset/base/337653 Log: Limit the amount of dnode metadata in the ARC In addition import most recent arc_prune_async implementation as dependency commit 25458cbef9e59ef9ee6a7e729ab2522e

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

2018-08-10 Thread Matt Macy
Author: mmacy Date: Fri Aug 10 23:42:11 2018 New Revision: 337594 URL: https://svnweb.freebsd.org/changeset/base/337594 Log: ZFS/MFV:Use cached feature info in spa_add_feature_stats() commit 417104bdd3c7ce07ec58674dd078f9891c3bc780 Author: Ned Bass Date: Thu Feb 26 12:24:11 2015

svn commit: r337567 - in head: cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzpool/common/sys sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolari...

2018-08-09 Thread Matt Macy
Author: mmacy Date: Fri Aug 10 06:42:08 2018 New Revision: 337567 URL: https://svnweb.freebsd.org/changeset/base/337567 Log: Performance optimization of AVL tree comparator functions MFV: commit ee36c709c3d5f7040e1bd11f5c75318aa03e789f Author: Gvozden Neskovic Date: Sat Aug 27 20:1

svn commit: r337525 - head/sys/kern

2018-08-08 Thread Matt Macy
Author: mmacy Date: Thu Aug 9 05:18:27 2018 New Revision: 337525 URL: https://svnweb.freebsd.org/changeset/base/337525 Log: epoch_block_wait: don't check TD_RUNNING struct epoch_thread is not type safe (stack allocated) and thus cannot be dereferenced from another CPU Reported by: no

svn commit: r336624 - head/release

2018-07-22 Thread Matt Macy
Author: mmacy Date: Sun Jul 22 23:33:48 2018 New Revision: 336624 URL: https://svnweb.freebsd.org/changeset/base/336624 Log: fix use of empty in Makefile.ec2 empty() takes a variable name - not the expanded value Reported by: sjg Modified: head/release/Makefile.ec2 Modified: head/

  1   2   3   4   >