svn commit: r319769 - head/cddl/usr.sbin/dtrace/tests/common/aggs

2017-06-10 Thread Andriy Gapon
Author: avg Date: Sat Jun 10 06:13:52 2017 New Revision: 319769 URL: https://svnweb.freebsd.org/changeset/base/319769 Log: follow up to r319746: add the new test files to the make file Reported by: markj MFC after:2 days X-MFC with: r319746 Modified:

Re: svn commit: r317591 - head/sys/dev/drm2/radeon

2017-06-09 Thread Andriy Gapon
[ping] On 31/05/2017 08:22, Andriy Gapon wrote: > On 29/04/2017 12:47, Takahashi Yoshihiro wrote: >> Author: nyan >> Date: Sat Apr 29 09:47:15 2017 >> New Revision: 317591 >> URL: https://svnweb.freebsd.org/changeset/base/317591 >> >> Log: >> A

svn commit: r319751 - head/cddl/contrib/opensolaris/lib/libzfs/common

2017-06-09 Thread Andriy Gapon
Author: avg Date: Fri Jun 9 15:30:41 2017 New Revision: 319751 URL: https://svnweb.freebsd.org/changeset/base/319751 Log: MFV r319740: 8168 NULL pointer dereference in zfs_create() illumos/illumos-gate@690031d326342fa4ea28b5e80f1ad6a16281519d

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

2017-06-09 Thread Andriy Gapon
Author: avg Date: Fri Jun 9 15:28:57 2017 New Revision: 319750 URL: https://svnweb.freebsd.org/changeset/base/319750 Log: MFV r319741: 8156 dbuf_evict_notify() does not need dbuf_evict_lock illumos/illumos-gate@dbfd9f930004c390a2ce2cf850c71b4f880eef9c

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

2017-06-09 Thread Andriy Gapon
Author: avg Date: Fri Jun 9 15:27:22 2017 New Revision: 319749 URL: https://svnweb.freebsd.org/changeset/base/319749 Log: MFV r319739: 8005 poor performance of 1MB writes on certain RAID-Z configurations illumos/illumos-gate@5b062782532a1d5961c4a4b655906e1238c7c908

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

2017-06-09 Thread Andriy Gapon
Author: avg Date: Fri Jun 9 15:26:03 2017 New Revision: 319748 URL: https://svnweb.freebsd.org/changeset/base/319748 Log: MFV r319738: 8155 simplify dmu_write_policy handling of pre-compressed buffers illumos/illumos-gate@adaec86ad212d9fd756bee322934fa54d1258605

svn commit: r319747 - head/sys/dev/aacraid

2017-06-09 Thread Andriy Gapon
Author: avg Date: Fri Jun 9 15:21:28 2017 New Revision: 319747 URL: https://svnweb.freebsd.org/changeset/base/319747 Log: remove an unrelated local change from r319746 MFC after:1 day X-MFC with: r319746 Modified: head/sys/dev/aacraid/aacraid.c Modified:

svn commit: r319746 - in head: cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs sys/dev/aacraid

2017-06-09 Thread Andriy Gapon
com> Approved by: Robert Mustacchi <r...@joyent.com> Author: Andriy Gapon <a...@freebsd.org> MFC after:1 week Sponsored by: Panzura Added: head/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/aggs/tst.stddev.normalize.d - copied unchanged from r319745, vendor/illumos/di

Re: svn commit: r317591 - head/sys/dev/drm2/radeon

2017-05-30 Thread Andriy Gapon
gt; module_param_named(hw_i2c, radeon_hw_i2c, int, 0444); > > +TUNABLE_INT("drm.radeon.pcie_gen2", _pcie_gen2); > MODULE_PARM_DESC(pcie_gen2, "PCIE Gen2 mode (-1 = auto, 0 = disable, 1 = > enable)"); > module_param_named(pcie_gen2, radeon_pcie_gen2, int, 0444); >

svn commit: r319212 - head/sys/x86/x86

2017-05-30 Thread Andriy Gapon
Author: avg Date: Tue May 30 13:53:03 2017 New Revision: 319212 URL: https://svnweb.freebsd.org/changeset/base/319212 Log: fix indentation MFC after:4 days Modified: head/sys/x86/x86/identcpu.c Modified: head/sys/x86/x86/identcpu.c

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

2017-05-29 Thread Andriy Gapon
Author: avg Date: Mon May 29 06:30:34 2017 New Revision: 319096 URL: https://svnweb.freebsd.org/changeset/base/319096 Log: zfs_lookup: fix bogus arguments to lookup of "snapshot" directory When a parent directory lookup is done at the root of a snapshot mounted under .zfs/snapshot

svn commit: r318962 - head/sys/cam/ata

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 17:44:47 2017 New Revision: 318962 URL: https://svnweb.freebsd.org/changeset/base/318962 Log: Allow PROBE_SPINUP to fail in CAM ATA transport The motivation for this is two-fold. 1. Some old WD SATA disks may appear as if they need to be spun up when

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 12:08:38 2017 New Revision: 318945 URL: https://svnweb.freebsd.org/changeset/base/318945 Log: MFV r318944: 8265 Reserve send stream flag for large dnode feature illumos/illumos-gate@bc83969fdbd1cb0d97ba00218c0a3de5c89fba92

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 12:04:21 2017 New Revision: 318943 URL: https://svnweb.freebsd.org/changeset/base/318943 Log: MFV r318942: 8166 zpool scrub thinks it repaired offline device illumos/illumos-gate@2d2f193a21231a58c583466dc23ba71f1a25f424

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:49:42 2017 New Revision: 318935 URL: https://svnweb.freebsd.org/changeset/base/318935 Log: MFV r318934: 8070 Add some ZFS comments illumos/illumos-gate@40713f2b249d289022c715107b3951055a63aef0

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:37:11 2017 New Revision: 318932 URL: https://svnweb.freebsd.org/changeset/base/318932 Log: MFV r318931: 8063 verify that we do not attempt to access inactive txg illumos/illumos-gate@b7b2590dd9f11b12a0b4878db3886068cce176af

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:33:34 2017 New Revision: 318930 URL: https://svnweb.freebsd.org/changeset/base/318930 Log: MFV r318929: 7786 zfs`vdev_online() needs better notification about state changes illumos/illumos-gate@5f368aef86387d6ef4eda84030ae9b402313ee4c

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:30:55 2017 New Revision: 318928 URL: https://svnweb.freebsd.org/changeset/base/318928 Log: MFV r318927: 8025 dbuf_read() creates unnecessary zio_root() for bonus buf illumos/illumos-gate@def4fac5882b4ca67bd0f4a53509b6d1fa8ae14e

svn commit: r318926 - head/sys/cddl/contrib/opensolaris

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:25:44 2017 New Revision: 318926 URL: https://svnweb.freebsd.org/changeset/base/318926 Log: MFV r316919: 7885 zpool list can report 16.0e for expandsz FreeBSD note: this is a record-only change, the actual change was directly committed by smh.

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:23:16 2017 New Revision: 318925 URL: https://svnweb.freebsd.org/changeset/base/318925 Log: MFV r316929: 6914 kernel virtual memory fragmentation leads to hang illumos/illumos-gate@af868f46a5b794687741d5424de9e3a2d684a84a

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 11:05:56 2017 New Revision: 318924 URL: https://svnweb.freebsd.org/changeset/base/318924 Log: arc_init: make code closer to upstream by introducing 'allmem' variable All the differences in calculations are kept. A comment about arc_max being 1/2 of all memory

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 10:37:55 2017 New Revision: 318923 URL: https://svnweb.freebsd.org/changeset/base/318923 Log: zfs_putpages: assert that sa_bulk_update() must succeed Same as the upstream does in r316927. MFC after:1 week Modified:

svn commit: r318922 - head/sys/cddl/contrib/opensolaris

2017-05-26 Thread Andriy Gapon
do not see code to actually apply the attributes... I would expect there to be a call to sa_bulk_update(), there is such a call in zfs_write() for instance. mmap_write.c [Magnifier] - demo (1.42 KB) Andriy Gapon, 2015-11-11 01:53 PM Reviewed by: Matthew Ahrens <m

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

2017-05-26 Thread Andriy Gapon
iable caches the correct value of z_blksz and can be safely used here. Reviewed by: Matt Ahrens <mahr...@delphix.com> Reviewed by: Pavel Zakharov <pavel.zakha...@delphix.com> Approved by: Dan McDonald <dan...@omniti.com> Author: Andriy Gapon <andriy.ga...@clusterhq.com>

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

2017-05-26 Thread Andriy Gapon
Author: avg Date: Fri May 26 10:27:35 2017 New Revision: 318920 URL: https://svnweb.freebsd.org/changeset/base/318920 Log: MFC r316924: 8061 sa_find_idx_tab can be declared more type-safely illumos/illumos-gate@7f0bdb4257bb4f1f76390b72665961e411da24c6

svn commit: r318867 - head/sys/dev/vmware/vmxnet3

2017-05-25 Thread Andriy Gapon
Author: avg Date: Thu May 25 10:49:56 2017 New Revision: 318867 URL: https://svnweb.freebsd.org/changeset/base/318867 Log: fix vmxnet3 crash when LRO is enabled The crash can occur when all of the following conditions are true: - a packet consists of multiple segements (requires LRO

Re: svn commit: r318814 - head/cddl/contrib/opensolaris/lib/libzfs_core/common

2017-05-24 Thread Andriy Gapon
On 24/05/2017 23:53, Andriy Gapon wrote: > MFC r316904: 7729 libzfs_core`lzc_rollback() leaks result nvl This and a few other commits should have MFV instead of MFC in their description. Sorry for any confusion that this mistake of mine might cause. -- Andriy Ga

svn commit: r318834 - head/sys/cddl/contrib/opensolaris

2017-05-24 Thread Andriy Gapon
Author: avg Date: Wed May 24 22:40:56 2017 New Revision: 318834 URL: https://svnweb.freebsd.org/changeset/base/318834 Log: MFV r316930: 5814 bpobj_iterate_impl(): Close a refcount leak iterating on a sublist. illumos/illumos-gate@b67dde11a73a9455d641403cbbb65ec2add41b41

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

2017-05-24 Thread Andriy Gapon
Reviewed by: Matthew Ahrens <mahr...@delphix.com> Approved by: Dan McDonald <dan...@omniti.com> Author: Andriy Gapon <a...@freebsd.org> MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ioctl.c head/sys/cddl/contrib/opensolaris

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

2017-05-24 Thread Andriy Gapon
viewed by: Serapheim Dimitropoulos <seraph...@delphix.com> Approved by: Richard Lowe <richl...@richlowe.net> Author: Andriy Gapon <a...@freebsd.org> MFC after:1 week Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_pool.c Directory Properties: head/sys/

svn commit: r318831 - head/cddl/contrib/opensolaris/lib/libzfs/common

2017-05-24 Thread Andriy Gapon
and that the snapshots are updated one by one the described behavior may lead to a sever performance penalty. Reviewed by: Paul Dagnelie <p...@delphix.com> Reviewed by: Matt Ahrens <mahr...@delphix.com> Approved by: Dan McDonald <dan...@omniti.com> Au

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

2017-05-24 Thread Andriy Gapon
are for that condition to occur, but it's better to have more accurate code. Reviewed by: Matt Ahrens <mahr...@delphix.com> Reviewed by: Serapheim Dimitropoulos <seraph...@delphix.com> Reviewed by: Paul Dagnelie <p...@delphix.com> Approved by: Dan McDonald <dan...@omniti.com

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

2017-05-24 Thread Andriy Gapon
Author: avg Date: Wed May 24 22:25:26 2017 New Revision: 318829 URL: https://svnweb.freebsd.org/changeset/base/318829 Log: MFV r316920: 8023 Panic destroying a metaslab deferred range tree illumos/illumos-gate@3991b535a8e990c0369be677746a87c259b13e9f

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

2017-05-24 Thread Andriy Gapon
Author: avg Date: Wed May 24 22:21:24 2017 New Revision: 318828 URL: https://svnweb.freebsd.org/changeset/base/318828 Log: MFV r316917: 7968 multi-threaded spa_sync() illumos/illumos-gate@94c2d0eb22e9624151ee84a7edbf7178e1bf4087

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

2017-05-24 Thread Andriy Gapon
Author: avg Date: Wed May 24 22:15:16 2017 New Revision: 318827 URL: https://svnweb.freebsd.org/changeset/base/318827 Log: MFV r316916: 7970 zfs_arc_num_sublists_per_state should be common to all multilists illumos/illumos-gate@10fbdecb05f411234920f8d3c92c148d39106d7e

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

2017-05-24 Thread Andriy Gapon
Author: avg Date: Wed May 24 21:52:20 2017 New Revision: 318824 URL: https://svnweb.freebsd.org/changeset/base/318824 Log: MFC r316915: 7801 add more by-dnode routines (lint) illumos/illumos-gate@411be58a6e030a3b606f1afcc7f2e2459ffda844

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

2017-05-24 Thread Andriy Gapon
Author: avg Date: Wed May 24 21:49:21 2017 New Revision: 318823 URL: https://svnweb.freebsd.org/changeset/base/318823 Log: MFC r316914: 7801 add more by-dnode routines illumos/illumos-gate@b0c42cd4706ba01ce158bd2bb1004f7e59eca5fe

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

2017-05-24 Thread Andriy Gapon
Author: avg Date: Wed May 24 21:45:52 2017 New Revision: 318822 URL: https://svnweb.freebsd.org/changeset/base/318822 Log: MFC r316913: 7869 panic in bpobj_space(): null pointer dereference illumos/illumos-gate@a3905a45920de250d181b66ac0b6b71bd200d9ef

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

2017-05-24 Thread Andriy Gapon
Author: avg Date: Wed May 24 21:43:34 2017 New Revision: 318821 URL: https://svnweb.freebsd.org/changeset/base/318821 Log: MFC r316912: 7793 ztest fails assertion in dmu_tx_willuse_space illumos/illumos-gate@61e255ce7267b52208af9daf434b77d37fb75622

svn commit: r318819 - head/cddl/contrib/opensolaris/lib/libzfs/common

2017-05-24 Thread Andriy Gapon
Author: avg Date: Wed May 24 21:32:35 2017 New Revision: 318819 URL: https://svnweb.freebsd.org/changeset/base/318819 Log: MFC r316908: 7541 zpool import/tryimport ioctl returns ENOMEM because provided buffer is too small for config

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

2017-05-24 Thread Andriy Gapon
Author: avg Date: Wed May 24 21:29:31 2017 New Revision: 318818 URL: https://svnweb.freebsd.org/changeset/base/318818 Log: MFC r316907: 1300 filename normalization doesn't work for removes illumos/illumos-gate@1c17160ac558f98048951327f4e9248d8f46acc0

svn commit: r318814 - head/cddl/contrib/opensolaris/lib/libzfs_core/common

2017-05-24 Thread Andriy Gapon
Author: avg Date: Wed May 24 20:53:01 2017 New Revision: 318814 URL: https://svnweb.freebsd.org/changeset/base/318814 Log: MFC r316904: 7729 libzfs_core`lzc_rollback() leaks result nvl illumos/illumos-gate@ac428481f96be89add7a1edf43ae47dd71038553

svn commit: r318812 - head/cddl/contrib/opensolaris/cmd/zdb

2017-05-24 Thread Andriy Gapon
Author: avg Date: Wed May 24 20:41:26 2017 New Revision: 318812 URL: https://svnweb.freebsd.org/changeset/base/318812 Log: MFV r316860: 7545 zdb should disable reference tracking illumos/illumos-gate@4dd77f9e38ef05b39db128ff7608d926fd3218c6

Re: svn commit: r317409 - head/contrib/tcpdump

2017-04-25 Thread Andriy Gapon
hout supporting text? All OpenZFS imports use a Git commit ID as a reference to the original commit. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail t

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

2017-04-14 Thread Andriy Gapon
s used as a permanent setting. But to err on the side of caution I can add a compatibility sysctl name. > On Fri, Apr 14, 2017 at 9:35 AM, Andriy Gapon <a...@freebsd.org> wrote: >> Author: avg >> Date: Fri Apr 14 15:35:07 2017 >> New Revision: 316854 >> URL: https://s

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

2017-04-14 Thread Andriy Gapon
Author: avg Date: Fri Apr 14 15:35:07 2017 New Revision: 316854 URL: https://svnweb.freebsd.org/changeset/base/316854 Log: rename vfs.zfs.debug_flags to vfs.zfs.debugflags While the former name is easier to read, the "_flags" suffix has a special meaning for loader(8) and, thus, it was

svn commit: r316853 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2017-04-14 Thread Andriy Gapon
Author: avg Date: Fri Apr 14 15:31:04 2017 New Revision: 316853 URL: https://svnweb.freebsd.org/changeset/base/316853 Log: dtrace: fix normalization of stddev aggregation To be upstreamed. Discussed with: Bryan Cantrill MFC after:2 weeks

svn commit: r316643 - head/sys/x86/x86

2017-04-08 Thread Andriy Gapon
Author: avg Date: Sat Apr 8 14:16:42 2017 New Revision: 316643 URL: https://svnweb.freebsd.org/changeset/base/316643 Log: use msr 0xc001100c to discover multi-node AMD processors This is applicable only to the older processors that do not have the AMD Topology extension. Opteron

svn commit: r316021 - in head/sys: amd64/amd64 amd64/vmm amd64/vmm/amd i386/i386 x86/include x86/x86 x86/xen

2017-03-27 Thread Andriy Gapon
Author: avg Date: Mon Mar 27 12:34:29 2017 New Revision: 316021 URL: https://svnweb.freebsd.org/changeset/base/316021 Log: revert r315959 because it causes build problems The change introduced a dependency between genassym.c and header files generated from .m files, but that dependency

Re: svn commit: r315959 - in head/sys: amd64/amd64 amd64/vmm amd64/vmm/amd i386/i386 x86/include x86/x86 x86/xen

2017-03-27 Thread Andriy Gapon
ble. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r316020 - head/sys/x86/x86

2017-03-27 Thread Andriy Gapon
Author: avg Date: Mon Mar 27 11:04:57 2017 New Revision: 316020 URL: https://svnweb.freebsd.org/changeset/base/316020 Log: update comment describing topo_probe_amd() MFC after:2 weeks MFC with: r316017 Modified: head/sys/x86/x86/mp_x86.c Modified: head/sys/x86/x86/mp_x86.c

svn commit: r316017 - head/sys/x86/x86

2017-03-27 Thread Andriy Gapon
Author: avg Date: Mon Mar 27 09:45:27 2017 New Revision: 316017 URL: https://svnweb.freebsd.org/changeset/base/316017 Log: add SMT detection for newer AMD processors The change seems to be more in the nomenclature than in the way the topology is advertised by the hardware. Tested

Re: svn commit: r315959 - in head/sys: amd64/amd64 amd64/vmm amd64/vmm/amd i386/i386 x86/include x86/x86 x86/xen

2017-03-27 Thread Andriy Gapon
On 03/26/2017 11:30, Chagin Dmitry wrote: > On Sat, Mar 25, 2017 at 06:45:09PM +0000, Andriy Gapon wrote: >> Author: avg >> Date: Sat Mar 25 18:45:09 2017 >> New Revision: 315959 >> URL: https://svnweb.freebsd.org/changeset/base/315959 >> >> Log: >&g

svn commit: r315960 - head/sys/kern

2017-03-25 Thread Andriy Gapon
Author: avg Date: Sat Mar 25 19:08:51 2017 New Revision: 315960 URL: https://svnweb.freebsd.org/changeset/base/315960 Log: dtrace sched:::preempt should fire only when there is preemption The probe fire on any thread switch before. Reviewed by: markj MFC after:1 week

svn commit: r315959 - in head/sys: amd64/amd64 amd64/vmm amd64/vmm/amd i386/i386 x86/include x86/x86 x86/xen

2017-03-25 Thread Andriy Gapon
Author: avg Date: Sat Mar 25 18:45:09 2017 New Revision: 315959 URL: https://svnweb.freebsd.org/changeset/base/315959 Log: specific end of interrupt implementation for AMD Local APIC The change is more intrusive than I would like because the feature requires that a vector number is

svn commit: r315858 - head/sys/dev/aacraid

2017-03-23 Thread Andriy Gapon
Author: avg Date: Thu Mar 23 11:59:17 2017 New Revision: 315858 URL: https://svnweb.freebsd.org/changeset/base/315858 Log: aacraid: rework r315083 for a clean build with and without AACRAID_DEBUG r315083 essentially reverted r263954 which was made for a good reason, but didn't take into

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

2017-03-23 Thread Andriy Gapon
Author: avg Date: Thu Mar 23 09:13:21 2017 New Revision: 315853 URL: https://svnweb.freebsd.org/changeset/base/315853 Log: zfs_putpages: use TXG_WAIT Explicit looping using TXG_NOWAIT is more verbose and may harm performance under heavy load because of multiple waits. MFC after:

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

2017-03-23 Thread Andriy Gapon
Author: avg Date: Thu Mar 23 08:59:17 2017 New Revision: 315852 URL: https://svnweb.freebsd.org/changeset/base/315852 Log: zfs: add zio_buf_alloc_nowait and use it in vdev_queue_aggregate This way we can avoid blocking the whole queue in the low memory situations. It's better to

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

2017-03-23 Thread Andriy Gapon
Author: avg Date: Thu Mar 23 08:57:04 2017 New Revision: 315851 URL: https://svnweb.freebsd.org/changeset/base/315851 Log: move thread switch tracing from mi_switch to sched_switch This is done so that the thread state changes during the switch are not confused with the thread state

Re: svn commit: r315068 - head/sys/modules/qlxgbe

2017-03-12 Thread Andriy Gapon
On 12/03/2017 04:44, Bruce Evans wrote: > On Sat, 11 Mar 2017, Andriy Gapon wrote: > >> Log: >> revert r314862, use of GCC_MS_EXTENSIONS in qlxgbe >> >> Commit r278913 made explicit use of GCC_MS_EXTENSIONS unnecessary. >> >> Requested by:gle

svn commit: r315083 - head/sys/dev/aacraid

2017-03-11 Thread Andriy Gapon
Author: avg Date: Sat Mar 11 18:40:39 2017 New Revision: 315083 URL: https://svnweb.freebsd.org/changeset/base/315083 Log: aacraid: fix build with AACRAID_DEBUG=2 MFC after:10 days Modified: head/sys/dev/aacraid/aacraid_cam.c Modified: head/sys/dev/aacraid/aacraid_cam.c

svn commit: r315078 - head/sys/vm

2017-03-11 Thread Andriy Gapon
Author: avg Date: Sat Mar 11 16:43:38 2017 New Revision: 315078 URL: https://svnweb.freebsd.org/changeset/base/315078 Log: uma: fix pages <-> items conversions at several places Those places were not taking into account uk_ppera. At present one allocation is always used by one slab, so

svn commit: r315077 - in head: sys/vm tools/tools/umastat

2017-03-11 Thread Andriy Gapon
Author: avg Date: Sat Mar 11 16:35:36 2017 New Revision: 315077 URL: https://svnweb.freebsd.org/changeset/base/315077 Log: uma: eliminate uk_slabsize field The field was not used beyond the initial keg setup stage anyway. MFC after:1 month (if ever) Modified:

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

2017-03-11 Thread Andriy Gapon
Author: avg Date: Sat Mar 11 16:00:49 2017 New Revision: 315076 URL: https://svnweb.freebsd.org/changeset/base/315076 Log: zfs: provide a special vptocnp method for the .zfs vnode vop_stdvptocnp() doesn't work properly if .zfs directory is hidden. Reported by: swills, des Tested

svn commit: r315075 - head/sys/kern

2017-03-11 Thread Andriy Gapon
Author: avg Date: Sat Mar 11 15:57:36 2017 New Revision: 315075 URL: https://svnweb.freebsd.org/changeset/base/315075 Log: trace thread running state when a thread is run for the first time This applies to both KTR_SCHED and DTrace sched:::on-cpu tracing. MFC after:10 days

svn commit: r315074 - head/sys/kern

2017-03-11 Thread Andriy Gapon
Author: avg Date: Sat Mar 11 15:47:27 2017 New Revision: 315074 URL: https://svnweb.freebsd.org/changeset/base/315074 Log: actually implement proc:::lwp-exit probe MFC after:4 days Modified: head/sys/kern/kern_thread.c Modified: head/sys/kern/kern_thread.c

svn commit: r315068 - head/sys/modules/qlxgbe

2017-03-11 Thread Andriy Gapon
Author: avg Date: Sat Mar 11 15:16:55 2017 New Revision: 315068 URL: https://svnweb.freebsd.org/changeset/base/315068 Log: revert r314862, use of GCC_MS_EXTENSIONS in qlxgbe Commit r278913 made explicit use of GCC_MS_EXTENSIONS unnecessary. Requested by: glebius Modified:

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

2017-03-08 Thread Andriy Gapon
(). But in the arc_hdr_free_on_write() path we don't do that. Reviewed by: Matthew Ahrens <mahr...@delphix.com> Reviewed by: Dan Kimmel <dan.kim...@delphix.com> Approved by: Dan McDonald <dan...@omniti.com> Author: Andriy Gapon <a...@freebsd.org> MFC after:10 days M

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

2017-03-08 Thread Andriy Gapon
. Reviewed by: Pavel Zakharov <pavel.zakha...@delphix.com> Reviewed by: Matthew Ahrens <mahr...@delphix.com> Approved by: Dan McDonald <dan...@omniti.com> Author: Andriy Gapon <a...@freebsd.org> MFC after:1 week Sponsored by: ClusterHQ Modified:

Re: svn commit: r314862 - head/sys/modules/qlxgbe

2017-03-07 Thread Andriy Gapon
On 08/03/2017 00:17, Gleb Smirnoff wrote: > On Tue, Mar 07, 2017 at 03:43:49PM +0000, Andriy Gapon wrote: > A> Author: avg > A> Date: Tue Mar 7 15:43:49 2017 > A> New Revision: 314862 > A> URL: https://svnweb.freebsd.org/changeset/base/314862 > A> > A> Lo

svn commit: r314864 - head/sys/dev/firewire

2017-03-07 Thread Andriy Gapon
Author: avg Date: Tue Mar 7 16:07:52 2017 New Revision: 314864 URL: https://svnweb.freebsd.org/changeset/base/314864 Log: firewire/sbp: try to improve locking, plus a few style nits This change tries to fix the most obvious locking problems. sbp_cam_scan_lun() is never called with

svn commit: r314862 - head/sys/modules/qlxgbe

2017-03-07 Thread Andriy Gapon
Author: avg Date: Tue Mar 7 15:43:49 2017 New Revision: 314862 URL: https://svnweb.freebsd.org/changeset/base/314862 Log: qlxgbe: add GCC_MS_EXTENSIONS to CFLAGS to make old base GCC happy The module uses unnamed structure and union fields and base GCC in stable/10 doesn't like it. I

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

2017-03-07 Thread Andriy Gapon
er > exact r307265 and 314274. This is like bisect by one try. I am not sure what you are saying... Do you see the problem with just r307265? Or with r307265 + r314274 ? -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd

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

2017-03-07 Thread Andriy Gapon
On 07/03/2017 11:18, Slawa Olhovchenkov wrote: > On Tue, Mar 07, 2017 at 11:02:46AM +0200, Andriy Gapon wrote: > >> On 07/03/2017 05:53, Slawa Olhovchenkov wrote: >>> On Sat, Feb 25, 2017 at 05:03:49PM +, Andriy Gapon wrote: >>> >>>> Author: avg &g

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

2017-03-07 Thread Andriy Gapon
On 07/03/2017 05:53, Slawa Olhovchenkov wrote: > On Sat, Feb 25, 2017 at 05:03:49PM +0000, Andriy Gapon wrote: > >> Author: avg >> Date: Sat Feb 25 17:03:48 2017 >> New Revision: 314274 >> URL: https://svnweb.freebsd.org/changeset/base/314274 >> >&

svn commit: r314700 - head/sys/x86/x86

2017-03-04 Thread Andriy Gapon
Author: avg Date: Sun Mar 5 07:46:48 2017 New Revision: 314700 URL: https://svnweb.freebsd.org/changeset/base/314700 Log: mca: fix up couple of issues introduced with amd thresholding in r314636 1. There a was a typo in one place where the processor family is checked (16 vs 0x16).

Re: svn commit: r314666 - head/sys/dev/ioat

2017-03-04 Thread Andriy Gapon
On 04/03/2017 14:51, Andriy Gapon wrote: > Author: avg > Date: Sat Mar 4 12:51:57 2017 > New Revision: 314666 > URL: https://svnweb.freebsd.org/changeset/base/314666 > > Log: > ioat: don't specify inline for function with variable argument list > > Modern

svn commit: r314666 - head/sys/dev/ioat

2017-03-04 Thread Andriy Gapon
Author: avg Date: Sat Mar 4 12:51:57 2017 New Revision: 314666 URL: https://svnweb.freebsd.org/changeset/base/314666 Log: ioat: don't specify inline for function with variable argument list Modern GCC and Clang simply ignore the qualifier, while the old base GCC produces a warning

Re: svn commit: r314636 - in head/sys/x86: include x86

2017-03-03 Thread Andriy Gapon
On 04/03/2017 00:42, Andriy Gapon wrote: > Author: avg > Date: Fri Mar 3 22:42:43 2017 > New Revision: 314636 > URL: https://svnweb.freebsd.org/changeset/base/314636 > > Log: > MCA: add AMD Error Thresholding support > > Currently the feature is implemented

svn commit: r314638 - in head/sys: dev/amd_ecc_inject modules modules/amd_ecc_inject

2017-03-03 Thread Andriy Gapon
/ecc_inject.cFri Mar 3 22:51:04 2017 (r314638) @@ -0,0 +1,243 @@ +/*- + * Copyright (c) 2017 Andriy Gapon + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1

svn commit: r314636 - in head/sys/x86: include x86

2017-03-03 Thread Andriy Gapon
Author: avg Date: Fri Mar 3 22:42:43 2017 New Revision: 314636 URL: https://svnweb.freebsd.org/changeset/base/314636 Log: MCA: add AMD Error Thresholding support Currently the feature is implemented only for a subset of errors reported via Bank 4. The subset includes only DRAM-related

svn commit: r314398 - in head/sys/x86: include x86

2017-02-28 Thread Andriy Gapon
Author: avg Date: Tue Feb 28 18:48:12 2017 New Revision: 314398 URL: https://svnweb.freebsd.org/changeset/base/314398 Log: Local APIC: add support for extended LVT entries found in AMD processors The extended LVT entries can be used to configure interrupt delivery for various events that

svn commit: r314357 - head/sys/x86/x86

2017-02-27 Thread Andriy Gapon
Author: avg Date: Mon Feb 27 17:36:31 2017 New Revision: 314357 URL: https://svnweb.freebsd.org/changeset/base/314357 Log: fix lvt_mode: edge-triggered interrupt mode is set by clearing APIC_LVT_TM The fixed is used only to fix up buggy MPTable information and the trigger mode is

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

2017-02-25 Thread Andriy Gapon
Author: avg Date: Sat Feb 25 17:03:48 2017 New Revision: 314274 URL: https://svnweb.freebsd.org/changeset/base/314274 Log: l2arc: try to fix write size calculation broken by Compressed ARC commit While there, make a change to not evict a first buffer outside the requested eviciton range.

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

2017-02-25 Thread Andriy Gapon
On 25/02/2017 18:45, Andriy Gapon wrote: > Author: avg > Date: Sat Feb 25 16:45:53 2017 > New Revision: 314273 > URL: https://svnweb.freebsd.org/changeset/base/314273 > > Log: > zfs: call spa_deadman on a taskqueue thread > > callout(9) prohibits call

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

2017-02-25 Thread Andriy Gapon
Author: avg Date: Sat Feb 25 16:45:53 2017 New Revision: 314273 URL: https://svnweb.freebsd.org/changeset/base/314273 Log: zfs: call spa_deadman on a taskqueue thread callout(9) prohibits callout functions from sleeping. illumos mutexes are emulated using sx(9). spa_deadman() calls

svn commit: r314272 - head/sys/vm

2017-02-25 Thread Andriy Gapon
Author: avg Date: Sat Feb 25 16:39:21 2017 New Revision: 314272 URL: https://svnweb.freebsd.org/changeset/base/314272 Log: call vm_lowmem hook in uma_reclaim_worker A comment near kmem_reclaim() implies that we already did that. Calling the hook is useful, because some handlers, e.g.

svn commit: r314271 - head/sys/dev/chromebook_platform

2017-02-25 Thread Andriy Gapon
Author: avg Date: Sat Feb 25 15:55:46 2017 New Revision: 314271 URL: https://svnweb.freebsd.org/changeset/base/314271 Log: chromebook_platform: catch up with ig4iic -> ig4iic_pci in r310621 Reported by: Wolfgang Zenker Tested by:Wolfgang Zenker

svn commit: r314268 - head/share/man/man4

2017-02-25 Thread Andriy Gapon
Author: avg Date: Sat Feb 25 14:50:53 2017 New Revision: 314268 URL: https://svnweb.freebsd.org/changeset/base/314268 Log: add chromebook_platform.4 to the list of manual pages Reported by: Wolfgang Zenker Pointyhat to: avg MFC after:5 days Modified:

Re: svn commit: r314239 - head/rescue/rescue

2017-02-24 Thread Andriy Gapon
ump= rdump > CRUNCH_ALIAS_fsck_ffs= fsck_4.2bsd fsck_ufs > CRUNCH_ALIAS_geom= glabel gpart > +CRUNCH_ALIAS_shutdown= poweroff > > # dhclient has historically been troublesome... > CRUNCH_PROGS_sbin+= dhclient > -- Andriy Gapon ___ s

Re: svn commit: r314216 - head/sys/x86/x86

2017-02-24 Thread Andriy Gapon
ootdown(cpuset_t mask > uint32_t generation; > int cpu; > > + /* It is not necessary to signal other CPUs while in the debugger. */ > + if (kdb_active || panicstr != NULL) > + return; > + > /* >* Check for other cpus. Return

svn commit: r314194 - in head/sys: cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs cddl/contrib/opensolaris/uts/common/sys conf modules/zfs

2017-02-23 Thread Andriy Gapon
Author: avg Date: Fri Feb 24 07:53:56 2017 New Revision: 314194 URL: https://svnweb.freebsd.org/changeset/base/314194 Log: zfs: clean up unused files and definitions MFC after:1 month X-MFC after: r314048 Deleted: head/sys/cddl/contrib/opensolaris/uts/common/fs/gfs.c

svn commit: r314183 - head/share/man/man4

2017-02-23 Thread Andriy Gapon
Author: avg Date: Thu Feb 23 22:08:35 2017 New Revision: 314183 URL: https://svnweb.freebsd.org/changeset/base/314183 Log: add jedec_ts.4 to the list of manual pages Reported by: rpokala MFC after:3 days Modified: head/share/man/man4/Makefile Modified:

svn commit: r314101 - head/sys/sys

2017-02-22 Thread Andriy Gapon
Author: avg Date: Wed Feb 22 17:20:18 2017 New Revision: 314101 URL: https://svnweb.freebsd.org/changeset/base/314101 Log: don't use C99 static array indices with older GCC versions For example, the FreeBSD GCC (4.2.1) has a spotty support for that feature. If the static keyword is used

svn commit: r314100 - head/sys/sys

2017-02-22 Thread Andriy Gapon
Author: avg Date: Wed Feb 22 17:13:00 2017 New Revision: 314100 URL: https://svnweb.freebsd.org/changeset/base/314100 Log: fix a typo in __STDC_VERSION__ in __min_size requirements MFC after:1 week Sponsored by: Panzura Modified: head/sys/sys/cdefs.h Modified:

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

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 21:11:58 2017 New Revision: 314059 URL: https://svnweb.freebsd.org/changeset/base/314059 Log: zfs: move zio_taskq_basedc under SYSDC That knob is useless without SDC (or alike) scheduling class support. That is, it's unused on FreeBSD. MFC after:4

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

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 21:09:21 2017 New Revision: 314058 URL: https://svnweb.freebsd.org/changeset/base/314058 Log: zfs: lower priority of zio_write_issue threads by four The difference of one was insignificant because zio_write_issue threads ended up on the same run queues as

svn commit: r314049 - head

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 17:54:38 2017 New Revision: 314049 URL: https://svnweb.freebsd.org/changeset/base/314049 Log: add UPDATING entry for r314048, re-work of .zfs code Modified: head/UPDATING Modified: head/UPDATING

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

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 17:47:08 2017 New Revision: 314048 URL: https://svnweb.freebsd.org/changeset/base/314048 Log: reimplement zfsctl (.zfs) support The current code is written on top of GFS, a library with the generic support for writing filesystems, which was ported from

svn commit: r314037 - head/sys/dev/jedec_ts

2017-02-21 Thread Andriy Gapon
Author: avg Date: Tue Feb 21 12:24:31 2017 New Revision: 314037 URL: https://svnweb.freebsd.org/changeset/base/314037 Log: jedec_ts: fix slave address check The mask should cover all bits that can not vary. MFC after:3 days Modified: head/sys/dev/jedec_ts/jedec_ts.c Modified:

<    2   3   4   5   6   7   8   9   10   11   >