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

2016-09-29 Thread Andriy Gapon
>td_realloc_possible || > + if (!send_holes_without_birth_time && > + (!td->td_realloc_possible || > zb->zb_object == DMU_META_DNODE_OBJECT) && > td->td_hole_birth_enabled_txg <= td->td_mi

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

2016-10-04 Thread Andriy Gapon
Author: avg Date: Tue Oct 4 08:09:25 2016 New Revision: 306665 URL: https://svnweb.freebsd.org/changeset/base/306665 Log: zfs: fix a wrong assertion for extended attributes For the extended attributes the order between z_teardown_lock and the vnode lock is different. The bug was

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

2016-10-07 Thread Andriy Gapon
Author: avg Date: Fri Oct 7 06:29:24 2016 New Revision: 306801 URL: https://svnweb.freebsd.org/changeset/base/306801 Log: implement zfs_vptocnp() using z_parent property This should allow vn_fullpath() to work even when vfs name cache is disabled for zfs, which is the case when zfs

svn commit: r306218 - in head: share/man/man4 sys/dev/amdsbwd sys/dev/intpm

2016-09-22 Thread Andriy Gapon
t.h Thu Sep 22 21:34:35 2016 (r306218) @@ -0,0 +1,139 @@ +/*- + * Copyright (c) 2016 Andriy Gapon <a...@freebsd.org> + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditio

Re: svn commit: r304321 - in head/sys: boot/efi/boot1 boot/efi/loader boot/i386/boot2 boot/i386/gptboot boot/i386/gptzfsboot boot/i386/zfsboot boot/userboot/ficl boot/userboot/userboot boot/userboot/z

2016-08-23 Thread Andriy Gapon
it's also possible that the current limitations will be a history by then. -- 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: r304674 - head/sys/dev/intpm

2016-08-23 Thread Andriy Gapon
Author: avg Date: Tue Aug 23 10:40:53 2016 New Revision: 304674 URL: https://svnweb.freebsd.org/changeset/base/304674 Log: intpm: add support for SB800 This code should be able to support later AMD chipsets as well, but that hasn't been tested. SB800 supports accessing several

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

2016-10-27 Thread Andriy Gapon
Author: avg Date: Thu Oct 27 07:38:07 2016 New Revision: 307994 URL: https://svnweb.freebsd.org/changeset/base/307994 Log: 3746 ZRLs are racy illumos/illumos-gate@260af64db74a52d64de8c6c5f67dd0a71d228ca5

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
zfsbootcfg/zfsbootcfg.8 == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sbin/zfsbootcfg/zfsbootcfg.8 Sat Oct 29 14:09:32 2016 (r308089) @@ -0,0 +1,112 @@ +.\" Copyright (c) 2016 Andriy Gapon +.\" All rights reserved. +.\" +.\" Redist

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

2016-10-30 Thread Andriy Gapon
Author: avg Date: Sun Oct 30 09:38:10 2016 New Revision: 308101 URL: https://svnweb.freebsd.org/changeset/base/308101 Log: hwpmc: fix a race between amd_stop_pmc and amd_intr It is possible that wrmsr in amd_stop_pmc() causes an overflow in a counter that it disables. In that case a

svn commit: r308104 - in head: . share/man/man4 sys/conf sys/dev/chromebook_platform sys/dev/cyapa sys/dev/ichiic sys/dev/iicbus sys/dev/isl sys/modules sys/modules/chromebook_platform sys/modules/...

2016-10-30 Thread Andriy Gapon
- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/chromebook_platform.4 Sun Oct 30 12:15:33 2016 (r308104) @@ -0,0 +1,68 @@ +.\" Copyright (c) 2016 Andriy Gapon <a...@freebsd.org> +.\" All rights reserved. +.\" +.\" Redistribut

svn commit: r308527 - head/sys/dev/smbus

2016-11-11 Thread Andriy Gapon
Author: avg Date: Fri Nov 11 14:41:02 2016 New Revision: 308527 URL: https://svnweb.freebsd.org/changeset/base/308527 Log: smb: fix SMB_READB, SMB_READW, SMB_PCALL to work as documented Previously, those ioctls were defined as 'in' only, so rdata.byte and rdata.word were never updated in

svn commit: r308529 - head/sys/dev/intpm

2016-11-11 Thread Andriy Gapon
Author: avg Date: Fri Nov 11 15:08:12 2016 New Revision: 308529 URL: https://svnweb.freebsd.org/changeset/base/308529 Log: intpm: clean up intsmb_bread and intsmb_pcall The hardware does not implement SMBus Process Call command, so remove ifdef-ed out code from intsmb_pcall. The code

svn commit: r308530 - head/sys/dev/iicbus

2016-11-11 Thread Andriy Gapon
Author: avg Date: Fri Nov 11 15:11:54 2016 New Revision: 308530 URL: https://svnweb.freebsd.org/changeset/base/308530 Log: iicsmb: SMB_MAXBLOCKSIZE can be used again The constant was set to the correct value in r308242. While there, fix iicsmb_bread() to not use a value of an out

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

2016-11-11 Thread Andriy Gapon
Author: avg Date: Fri Nov 11 15:16:37 2016 New Revision: 308532 URL: https://svnweb.freebsd.org/changeset/base/308532 Log: update SMB_BWRITE documentation, clarify SMB_BREAD After removal of SMB_TRANS some information in the description of SMB_BWRITE has become stale. E.g., the maximum

svn commit: r308479 - head/usr.sbin/watchdogd

2016-11-10 Thread Andriy Gapon
Author: avg Date: Thu Nov 10 10:45:12 2016 New Revision: 308479 URL: https://svnweb.freebsd.org/changeset/base/308479 Log: fix a watchdogd regression introduced in r308040 The code assumed that 'timeout' and 'timeout_sec' are in sync which they weren't if no '-t' option was passed to

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

2016-11-10 Thread Andriy Gapon
Author: avg Date: Thu Nov 10 11:12:45 2016 New Revision: 308480 URL: https://svnweb.freebsd.org/changeset/base/308480 Log: pmc_process_csw_out: ignore deleted counters I see the fllowing panic on AMD when exiting pmcstat: panic: [pmc,1473] pp_pmcval outside of expected range cpu=2

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

2016-10-14 Thread Andriy Gapon
boot code support large blocks? Just to be sure. And maybe this is worth some additional notice because users sometimes forget to upgrade gptzfsboot / zfsboot. -- 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"

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

2016-10-14 Thread Andriy Gapon
On 14/10/2016 15:22, Alexander Motin wrote: > On 14.10.2016 15:11, Andriy Gapon wrote: >> On 14/10/2016 15:01, Alexander Motin wrote: >>> Author: mav >>> Date: Fri Oct 14 12:01:33 2016 >>> New Revision: 307317 >>> URL: https://svnweb.freebsd.org/changes

svn commit: r307348 - head/sys/dev/acpi_support

2016-10-15 Thread Andriy Gapon
Author: avg Date: Sat Oct 15 09:10:35 2016 New Revision: 307348 URL: https://svnweb.freebsd.org/changeset/base/307348 Log: aibs / atk0110: add support for querying sensors via GGRP and GITM Comparing to the Linux driver there is still one missing feature. The Linux driver finds and

svn commit: r307903 - head/sys/amd64/vmm/amd

2016-10-25 Thread Andriy Gapon
Author: avg Date: Tue Oct 25 10:34:14 2016 New Revision: 307903 URL: https://svnweb.freebsd.org/changeset/base/307903 Log: vmm/svm: iopm_bitmap and msr_bitmap must be contiguous in physical memory To achieve that the whole svm_softc is allocated with contigmalloc now. It would be more

svn commit: r307904 - head/sys/amd64/vmm/amd

2016-10-25 Thread Andriy Gapon
Author: avg Date: Tue Oct 25 10:59:21 2016 New Revision: 307904 URL: https://svnweb.freebsd.org/changeset/base/307904 Log: fix up r307903, use correct max address definition MFC after:1 week X-MFC with: r307903 Modified: head/sys/amd64/vmm/amd/svm.c Modified:

svn commit: r307768 - in head: share/man/man4 sys/conf sys/dev/jedec_ts sys/modules/i2c sys/modules/i2c/jedec_ts

2016-10-22 Thread Andriy Gapon
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/jedec_ts.4 Sat Oct 22 08:00:46 2016 (r307768) @@ -0,0 +1,130 @@ +.\" +.\" Copyright (c) 2016 Andriy Gapon <a...@freebsd.org>

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

2016-11-22 Thread Andriy Gapon
Author: avg Date: Tue Nov 22 11:44:30 2016 New Revision: 308985 URL: https://svnweb.freebsd.org/changeset/base/308985 Log: revert r304520, set canmount=on is not supposed to mount the filesystem Not sure where I got the idea that it should. See

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

2016-11-24 Thread Andriy Gapon
Author: avg Date: Thu Nov 24 10:11:09 2016 New Revision: 309096 URL: https://svnweb.freebsd.org/changeset/base/309096 Log: MFV r308989: 6428 set canmount=off on unmounted filesystem tries to unmount children This is a cosmetic and bookkeeping change as the actual change is already in

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

2016-11-24 Thread Andriy Gapon
Author: avg Date: Thu Nov 24 09:43:42 2016 New Revision: 309092 URL: https://svnweb.freebsd.org/changeset/base/309092 Log: fwohci: report whether PhysicalUpperBound register is implemented Please see section 5.15 of 1394 OHCI Specification. If the register is not implemented, then the

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

2016-11-24 Thread Andriy Gapon
com> Reviewed by: Brad Lewis <brad.le...@delphix.com> Approved by: Gordon Ross <gordon.w.r...@gmail.com> Author: Andriy Gapon <andriy.ga...@clusterhq.com> MFC after:3 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c head/sys/

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

2016-11-24 Thread Andriy Gapon
Author: avg Date: Thu Nov 24 09:47:56 2016 New Revision: 309093 URL: https://svnweb.freebsd.org/changeset/base/309093 Log: firewire: initialize tag label to -1 in fw_xfer_alloc() Zero can be confused for a potentially valid value. For example, if I load and unload sbp driver I get a lot

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

2016-11-24 Thread Andriy Gapon
Author: avg Date: Thu Nov 24 10:21:22 2016 New Revision: 309097 URL: https://svnweb.freebsd.org/changeset/base/309097 Log: MFV r308987: 7180 potential race between zfs_suspend_fs+zfs_resume_fs and zfs_ioc_rename illumos/illumos-gate@690041b9caf801816f2d0bac90bc7cecefb73523

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

2016-11-24 Thread Andriy Gapon
Author: avg Date: Thu Nov 24 09:00:51 2016 New Revision: 309090 URL: https://svnweb.freebsd.org/changeset/base/309090 Log: further fix zfs_lock() diagnostics It was very wrong to look at the vnode and znode internals without having locked the vnode first. Reported by: pho Tested

svn commit: r309094 - head/cddl/contrib/opensolaris

2016-11-24 Thread Andriy Gapon
Author: avg Date: Thu Nov 24 10:03:57 2016 New Revision: 309094 URL: https://svnweb.freebsd.org/changeset/base/309094 Log: MFV r308986: 6412 zfs receive: -u can be ignored sometimes This is a record only change, the actual change is in FreeBSD since r297520. Modified: Directory

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

2016-11-24 Thread Andriy Gapon
ahr...@delphix.com> Approved by: Gordon Ross <gordon.w.r...@gmail.com> Author: Andriy Gapon <andriy.ga...@clusterhq.com> MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c Directory Properties: head/sys/cddl/contrib/opensol

svn commit: r309116 - head/sys/dev/virtio/console

2016-11-24 Thread Andriy Gapon
Author: avg Date: Thu Nov 24 21:12:32 2016 New Revision: 309116 URL: https://svnweb.freebsd.org/changeset/base/309116 Log: virtio_console: correctly determine presense of payload and its length MFC after:2 weeks Modified: head/sys/dev/virtio/console/virtio_console.c Modified:

svn commit: r309119 - head/sys/dev/virtio/pci

2016-11-24 Thread Andriy Gapon
Author: avg Date: Thu Nov 24 21:32:04 2016 New Revision: 309119 URL: https://svnweb.freebsd.org/changeset/base/309119 Log: virtio_pci: fix announcement of MSI-X interrupts for queues Queues that do not need interrupts - for instance, output queues - do not have a corresponding entry in

Re: svn commit: r305898 - head/usr.sbin/bhyve

2016-11-24 Thread Andriy Gapon
lnotes: yes > Sponsored by: iXsystems, Inc. > Differential Revision: D7185 > > Added: > head/usr.sbin/bhyve/pci_virtio_console.c (contents, props changed) > Modified: > head/usr.sbin/bhyve/Makefile > head/usr.sbin/bhyve/virtio.h -- Andriy Gapon

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

2016-11-28 Thread Andriy Gapon
c24- 2ed45cd0da70@marlin_init Reviewed by: Matthew Ahrens <mahr...@delphix.com> Reviewed by: Dan Kimmel <dan.kim...@delphix.com> Reviewed by: Pavel Zakharov <pavel.zakha...@delphix.com> Reviewed by: Andriy Gapon <a...@freebsd.org> Approved by: Richard Lowe <

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

2016-11-19 Thread Andriy Gapon
Author: avg Date: Sat Nov 19 08:12:57 2016 New Revision: 308826 URL: https://svnweb.freebsd.org/changeset/base/308826 Log: zfs: fix up after the removal of PG_CACHED pages in r308691 PR: 214629 Reported by: msh...@daemon-security.com Reviewed by: alc Tested by:Shawn

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

2016-11-20 Thread Andriy Gapon
Author: avg Date: Sun Nov 20 14:00:50 2016 New Revision: 308887 URL: https://svnweb.freebsd.org/changeset/base/308887 Log: fix unsafe modification of zfs_vnodeops when DIAGNOSTIC is enabled The idea was to avoid a false assertion in zfs_lock, but it was implemented very dangerously and

svn commit: r308221 - head/sys/dev/ichiic

2016-11-02 Thread Andriy Gapon
Author: avg Date: Wed Nov 2 17:12:15 2016 New Revision: 308221 URL: https://svnweb.freebsd.org/changeset/base/308221 Log: fix typo in a comment MFC after:5 weeks X-MFC with: r308219 Modified: head/sys/dev/ichiic/ig4_iic.c Modified: head/sys/dev/ichiic/ig4_iic.c

svn commit: r308225 - head/sys/dev/cpuctl

2016-11-02 Thread Andriy Gapon
Author: avg Date: Wed Nov 2 17:47:19 2016 New Revision: 308225 URL: https://svnweb.freebsd.org/changeset/base/308225 Log: dev/cpuctl: put debug output under CPUCTL_DEBUG rather than DEBUG DEBUG is a well-known flag. It doesn't imply that there is a particular interest in cpuctl.

svn commit: r308220 - head/sys/dev/smbus

2016-11-02 Thread Andriy Gapon
Author: avg Date: Wed Nov 2 17:07:18 2016 New Revision: 308220 URL: https://svnweb.freebsd.org/changeset/base/308220 Log: smbus: remove the potentially very dangerous slave probing code MFC after:5 weeks Modified: head/sys/dev/smbus/smbus.c Modified: head/sys/dev/smbus/smbus.c

svn commit: r308219 - head/sys/dev/ichiic

2016-11-02 Thread Andriy Gapon
Author: avg Date: Wed Nov 2 17:04:00 2016 New Revision: 308219 URL: https://svnweb.freebsd.org/changeset/base/308219 Log: ichiic/ig4: completely disengage from smbus MFC after:5 weeks Modified: head/sys/dev/ichiic/ig4_iic.c head/sys/dev/ichiic/ig4_pci.c

svn commit: r308050 - head/sys/amd64/vmm/amd

2016-10-28 Thread Andriy Gapon
Author: avg Date: Fri Oct 28 15:57:55 2016 New Revision: 308050 URL: https://svnweb.freebsd.org/changeset/base/308050 Log: fix a syntax error in r308039 ... that I somehow introduced between testing the change iand committing it. MFC after:1 week X-MFC with: r307903

svn commit: r308242 - in head: share/man/man4 sys/dev/smbus

2016-11-03 Thread Andriy Gapon
Author: avg Date: Thu Nov 3 07:40:52 2016 New Revision: 308242 URL: https://svnweb.freebsd.org/changeset/base/308242 Log: smbus: remove smbus_trans / SMB_TRANS This change reverts most of r281985. The method did not map to anything defined by SMBus protocol and could not be

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

2016-11-03 Thread Andriy Gapon
Mustacchi <r...@joyent.com> Author: Andriy Gapon <a...@icyb.net.ua> MFC after:2 weeks Modified: head/cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.c head/cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.h Directory Properties: head/cddl/contrib/opens

svn commit: r308218 - in head: sys/dev/cpuctl usr.sbin/cpucontrol

2016-11-02 Thread Andriy Gapon
1 + #endif /* !AMD_H */ Added: head/usr.sbin/cpucontrol/amd10h.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/usr.sbin/cpucontrol/amd10h.c Wed Nov 2 16:15:49 2016 (r308218) @@ -0,0 +1,307 @@ +/*- + * Copyright

svn commit: r308040 - head/usr.sbin/watchdogd

2016-10-28 Thread Andriy Gapon
Author: avg Date: Fri Oct 28 14:49:54 2016 New Revision: 308040 URL: https://svnweb.freebsd.org/changeset/base/308040 Log: nap time between pats is forced to be at most half of the timeout Previously, if the timeout was less than 10 seconds, for example, about 8 seconds, then the

svn commit: r308039 - head/sys/amd64/vmm/amd

2016-10-28 Thread Andriy Gapon
Author: avg Date: Fri Oct 28 14:38:01 2016 New Revision: 308039 URL: https://svnweb.freebsd.org/changeset/base/308039 Log: vmm: another take at maximmum address passed to contigmalloc Just using vm_paddr_t value with all bits set. That should work as long as the type is unsigned.

svn commit: r307140 - head/sys/sys

2016-10-12 Thread Andriy Gapon
Author: avg Date: Wed Oct 12 11:12:31 2016 New Revision: 307140 URL: https://svnweb.freebsd.org/changeset/base/307140 Log: bump __FreeBSD_version for libzfs_core.h Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r307141 - head/sys/sys

2016-10-12 Thread Andriy Gapon
Author: avg Date: Wed Oct 12 11:17:10 2016 New Revision: 307141 URL: https://svnweb.freebsd.org/changeset/base/307141 Log: remove a few stray spaces from sys/param.h Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

Re: svn commit: r306680 - in head/sys: amd64/amd64 amd64/include i386/include x86/include x86/x86

2016-10-12 Thread Andriy Gapon
On 12/10/2016 16:45, Konstantin Belousov wrote: > On Wed, Oct 12, 2016 at 04:25:00PM +0300, Andriy Gapon wrote: >> On 04/10/2016 20:01, Konstantin Belousov wrote: >>> Author: kib >>> Date: Tue Oct 4 17:01:24 2016 >>> New Revision: 306680 >>> URL: htt

Re: svn commit: r306680 - in head/sys: amd64/amd64 amd64/include i386/include x86/include x86/x86

2016-10-12 Thread Andriy Gapon
Anton Rang > Reviewed by:cem (earlier version) > Sponsored by: Dell EMC Isilon > Differential Revision: https://reviews.freebsd.org/D8041 -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mail

Re: svn commit: r307191 - head/etc/rc.d

2016-10-13 Thread Andriy Gapon
head/etc/rc.d/MakefileThu Oct 13 07:10:27 2016(r307191) > @@ -314,6 +314,7 @@ FILES+= wpa_supplicant > .if ${MK_ZFS} != "no" > FILESGROUPS+=ZFS > ZFS+=zfs > +ZFS+=zfsbe > ZFS+=

Re: svn commit: r307195 - head/sys/dev/iicbus

2016-10-13 Thread Andriy Gapon
On 13/10/2016 10:25, Andriy Gapon wrote: > Author: avg > Date: Thu Oct 13 07:25:18 2016 > New Revision: 307195 > URL: https://svnweb.freebsd.org/changeset/base/307195 > > Log: > convert iicsmb to use iicbus_transfer for all operations > > Previously the

Re: svn commit: r307182 - head/etc/rc.d

2016-10-13 Thread Andriy Gapon
On 13/10/2016 10:12, Ngie Cooper (yaneurabeya) wrote: > >> On Oct 12, 2016, at 23:19, Andriy Gapon <a...@freebsd.org> wrote: >> >> Author: avg >> Date: Thu Oct 13 06:19:54 2016 >> New Revision: 307182 >> URL: https://svnweb.freebsd.org/changeset/base/3

svn commit: r307195 - head/sys/dev/iicbus

2016-10-13 Thread Andriy Gapon
Author: avg Date: Thu Oct 13 07:25:18 2016 New Revision: 307195 URL: https://svnweb.freebsd.org/changeset/base/307195 Log: convert iicsmb to use iicbus_transfer for all operations Previously the driver used more low level operations like iicbus_start and iicbus_write. The problem is

svn commit: r307130 - head/sys/dev/smbus

2016-10-12 Thread Andriy Gapon
Author: avg Date: Wed Oct 12 06:58:01 2016 New Revision: 307130 URL: https://svnweb.freebsd.org/changeset/base/307130 Log: smbus: allow child devices to be added via hints This will allow to add slave drivers in the same fashion as for iicbus. Also, allow other code to add a child

svn commit: r307131 - head/include

2016-10-12 Thread Andriy Gapon
Author: avg Date: Wed Oct 12 07:08:32 2016 New Revision: 307131 URL: https://svnweb.freebsd.org/changeset/base/307131 Log: install header files required development with libzfs_core libzfs_core provides a rather limited but committed (stable) interface for working with ZFS. We install

svn commit: r307182 - head/etc/rc.d

2016-10-13 Thread Andriy Gapon
Author: avg Date: Thu Oct 13 06:19:54 2016 New Revision: 307182 URL: https://svnweb.freebsd.org/changeset/base/307182 Log: rc.d/zfsbe: a new script designed for boot environment support Currently zfsbe ensures that subordinate filesystems are mounted at the right mount points. The

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

2016-12-14 Thread Andriy Gapon
elow ZFS too. -- 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"

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

2016-12-14 Thread Andriy Gapon
nge and if you can qualify ARC size behavior in various scenarios. I expect that with your change the ARC would more easily give in to the memory pressure. That may delight some, but it could be an issue for others. Especially if it forces ARC to its minimum size for no good reason. P.S. My impr

Re: svn commit: r310025 - head/libexec/rtld-elf

2016-12-13 Thread Andriy Gapon
t; @@ -3557,7 +3557,7 @@ dl_iterate_phdr(__dl_iterate_hdr_callbac > > error = callback(_info, sizeof phdr_info, param); > > - rlock_acquire(rtld_bind_lock, _lockstate); > + wlock_acquire(rtld_bind_lock, _lockstate); > obj =

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

2016-12-15 Thread Andriy Gapon
On 14/12/2016 21:49, Alexander Motin wrote: > On 14.12.2016 14:03, Andriy Gapon wrote: >> On 08/12/2016 17:58, Alexander Motin wrote: >>> This change switches zio_timestamp_compare() from comparing uninitialized >>> io_offset to really populated io_bookmark val

svn commit: r309295 - head/usr.sbin/bhyve

2016-11-29 Thread Andriy Gapon
Author: avg Date: Tue Nov 29 13:11:00 2016 New Revision: 309295 URL: https://svnweb.freebsd.org/changeset/base/309295 Log: bhyve: stability and performance improvement for dbgport The TCP server implementation in dbgport does not track clients, so it may try to write to a disconected

svn commit: r310630 - in head: include lib/libkvm

2016-12-27 Thread Andriy Gapon
Author: avg Date: Tue Dec 27 10:17:56 2016 New Revision: 310630 URL: https://svnweb.freebsd.org/changeset/base/310630 Log: libkvm: support access to vmm guest memory, allow writes to fwmem and vmm This change consists of two parts: - allow libkvm to recognize /dev/vmm/* character devices

Re: svn commit: r310172 - in head/sys/mips: conf ingenic

2016-12-19 Thread Andriy Gapon
ion: https://reviews.freebsd.org/D8793 > > Added: > head/sys/mips/ingenic/jz4780_smb.c (contents, props changed) > head/sys/mips/ingenic/jz4780_smb.h (contents, props changed) > Modified: > head/sys/mips/conf/JZ4780 > head/sys/mips/ing

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

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

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: 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

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: 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

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: 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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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

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: 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:

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

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 >> >&

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
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

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

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: 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).

<    5   6   7   8   9   10   11   12   13   14   >